Giter Site home page Giter Site logo

oerpscenario's Introduction

OERPScenario - Business Driven Development (BDD) for OpenERP/Odoo

OERPScenario is a tool to allows Business Driven Development (BDD). It allows non-technical people to write real business cases, that will be tested among OpenERP to ensure no regressions.

OERPScenario will allow us to detect regressions from one version to another by running a test suites composed by scenario on a specified OpenERP server (directly on the customer replication instance, or just on the last stable release).

We also include in this brand new version written in Python and based on Erppeek (http://erppeek.readthedocs.org/en/latest/) a complete DSL that allow you to write tests at the speed of thought.

This means a business specialist can write something like the following:

Scenario: SO013 CREATION
    Given I need a "sale.order" with name: SO013 and oid: scenario.anglosaxon_SO013
    And having:
        | name | value |
        | date_order | %Y-03-15 |
        | name | SO013 |
        | partner_id | by oid: scenario.customer_1 |
        | pricelist_id | by id: 1 |
        | partner_invoice_id | by oid: scenario.customer_1_add |
        | partner_order_id | by oid: scenario.customer_1_add |
        | partner_shipping_id | by oid: scenario.customer_1_add |
        | shop_id | by id: 1 |
    Given I need a "sale.order.line" with oid: scenario.anglosaxon_SO013_line1
    And having:
        | name | value |
        | name | SO013_line1 |
        | product_id | by oid: scenario.p5 |
        | price_unit | 450 |
        | product_uom_qty | 1.0 |
        | product_uom | by name: PCE |
        | order_id | by oid: scenario.anglosaxon_SO013 |

oerpscenario's People

Contributors

nbessi avatar jgrandguillaume avatar gurneyalex avatar guewen avatar yvaucher avatar vrenaville avatar bguillot avatar lepistone avatar rvalyi avatar sebastienbeau avatar charbeljc avatar damdam-s avatar rdeheele avatar

Watchers

蔡宁 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.