Changes between Version 42 and Version 43 of DeveloperGuidelines/Testing/Selenium


Ignore:
Timestamp:
08/14/12 07:41:46 (9 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Selenium

    v42 v43  
    182182To run tests for particular modules:
    183183{{{
     184# for modules in modules/s3
    184185python web2py.py -S eden -M -R applications/eden/modules/unit_tests/s3/s3resource.py
     186# for modules in modules/eden
    185187python web2py.py -S eden -M -R applications/eden/modules/unit_tests/eden/pr.py
    186188}}}
    187189
    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.
     190It 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.
    189191== Load Testing ==
    190192We recommend using [Testing/Load Tsung]