~c2c-oerpscenario/oerpscenario/stable-6.0

« back to all changes in this revision

Viewing changes to features/base/base.feature

  • Committer: Joël Grand-Guillaume
  • Date: 2010-03-26 11:30:57 UTC
  • mfrom: (30.1.75 OERPScenario)
  • Revision ID: joel.grandguillaume@camptocamp.com-20100326113057-w6jb16avnxkf2ize
[MRG] From trunk branch. This is about releasing the 0.5 version of OERPScenario.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#
6
6
##############################################################################
7
7
 
8
 
@base 
9
 
Feature check_base
10
 
  In order to test the database integrity
11
 
      
 
8
# Features Generic tags (none for all)
 
9
##############################################################################
 
10
 
 
11
# Branch      # Module       # Processes     # System
 
12
@addons       @base
 
13
 
 
14
Feature Control the base module
 
15
  In order to test the basic features of the base module
 
16
  I want to make some basic tests
 
17
 
 
18
  # Scenario specific tags
 
19
  ##############################################################################
12
20
  @properties
13
 
  Scenario: validate_properties
 
21
  Scenario: Validate the model ir.property into the DB
14
22
    Given I check the integrity of ir.property named property_product_pricelist
15
23
    Then I check the value of ir.property and it should not start with a space
16
 
    
17
 
  @base_contact
18
 
  Scenario: check_base_contact
19
 
    Given I made a search on object res.partner.contact 
20
 
    When I press search
21
 
    Then the result  should be > 0 
22
 
    
 
24
 
 
25
 
 
26
  # Scenario specific tags
 
27
  ##############################################################################  
23
28
  @partner
24
 
  Scenario: create_partner
 
29
  Scenario: Validate the partner creation
25
30
    Given I want to create a partner named automatedtest with default receivable account 
26
31
    Then I get a receivable account
27
 
    When I press create
28
 
    Then I should get a partner id
29
 
    And  I should get account_payable and pricelist proprety
 
32
    And I should get a partner id