Changes between Version 42 and Version 43 of DeveloperGuidelines/Testing/Selenium
- Timestamp:
- 08/14/12 07:41:46 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/Selenium
v42 v43 182 182 To run tests for particular modules: 183 183 {{{ 184 # for modules in modules/s3 184 185 python web2py.py -S eden -M -R applications/eden/modules/unit_tests/s3/s3resource.py 186 # for modules in modules/eden 185 187 python web2py.py -S eden -M -R applications/eden/modules/unit_tests/eden/pr.py 186 188 }}} 187 189 188 To first implement unit test cases for the functionality you intend to implement before actually implementing it can be a very powerful development strategy especially for back-end APIs. Apart from preventing bugs, this helps you to validate your design against requirements, and to keep the implementation simple and focussed. Additionally, the test cases can be a rich source of code samples how to apply your API methods.190 It can be a very powerful development strategy - especially for back-end APIs - to first implement unit test cases for the functionality you intend to implement before actually implementing it. Apart from preventing bugs, this helps you to validate your design against requirements, and to keep the implementation simple and focussed. Additionally, the test cases can be a rich source of code samples how to apply your API methods. 189 191 == Load Testing == 190 192 We recommend using [Testing/Load Tsung]