~c2c-oerpscenario/oerpscenario/stable-6.0

« back to all changes in this revision

Viewing changes to Readme.txt

  • Committer: Joel Grand-Guillaume
  • Date: 2010-01-22 10:26:44 UTC
  • mfrom: (30.1.32 OERPScenario)
  • Revision ID: joel.grandguillaume@camptocamp.com-20100122102644-79ck3f4kbbi3c6yk
[MRG] Merge from trunk, Adding:
- Demo data handling
- Rakefile handling
- Better helpers
- More test case for bank statement and rounding
- Memorizer system to better handle tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
To install it, you need ruby and optionnaly Postgresql install depending
74
74
which server you wanna use :
75
75
 
76
 
sudo gem install cucumber
 
76
sudo gem install cucumber (V. 0.5.1)
77
77
sudo gem install activeresource
78
78
sudo gem install rspec
79
79
sudo gem install parseconfig
80
 
sudo gem install ooor --source http://gemcutter.org
 
80
sudo gem install ooor --source http://gemcutter.org (V. 1.2.3)
 
81
 
 
82
(Optional, if you want to use it)
 
83
sudo gem install rake
 
84
 
81
85
 
82
86
On Ubuntu if ruby  and ruby gem are not installed do (Thanks to C. Almeida for the infos):
83
87
- apt-get install libopenssl-ruby (not self evident)
124
128
USING THE TESTS SUITES SCENARIO 
125
129
##############################################################################
126
130
 
 
131
First, ensure you have installed at least the profile_accounting on your OpenERP instance to test.
 
132
 
127
133
We use the test scenario using tags. You can find different types of tags, like:
128
134
 - @account     : This tag represent all tests scenario related to the account module of OpenERP
129
135
 - @addons      : This tag represent all tests scenario related to the addons branch of OpenERP
140
146
cucumber features --tag=@invoicing,@account --format=html >/tmp/result.html&&open  /tmp/result.html
141
147
 
142
148
 
 
149
Optionnal rake command (require to install rake gem):
 
150
 
 
151
rake compile     => To test the compilation of the tests suite
 
152
rake demo        => To install demo data on installed module (same as : cucumber features --tag=@demo)
 
153
rake quality     => To launch base_module_quality tests on all installed module
 
154
 
 
155
Other will come...
 
156
 
 
157
 
143
158
GUIDE LINES TO CONTRIBUTE
144
159
##############################################################################
145
160