Changes between Version 111 and Version 112 of DeveloperGuidelinesTesting


Ignore:
Timestamp:
08/08/11 21:17:25 (13 years ago)
Author:
Mike A
Comment:

minor cleanups to text

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesTesting

    v111 v112  
    5959 * http://zesty.ca/scrape/
    6060  * [http://pycon.blip.tv/file/3261277 Lightning Talk] (2.30)
     61
     62
    6163== Unit Tests ==
    6264"Building the Code Right"
     
    8385[http://readthedocs.org/docs/nose/ nose] is a python module/command which finds and runs tests. nose is suitable as it has been widely adopted in the python community, allows standard test specifications and is highly configurable and customisable, without confusing "magical" behaviour. Documentation is [http://readthedocs.org/docs/nose/ here].
    8486
    85 To work with web2py, a plugin has been written, which means that nosetests isn't run in the normal way, although we'll aim for that as much as possible. Extra arguments are just passed on to nose, so the command's argument format is the same as original as the original nosetest command.
     87To cope with web2py, a wrapper and a plugin has been written, which means that nosetests isn't run in the normal way, although we'll aim for that as much as possible. Extra arguments are just passed on to nose by the wrapper command, so the command's argument format is the same as that of the original nosetest command.
    8688
    8789To run the unit tests in Sahana Eden via nose, there is a nose.py command in the tests/ folder within the application. Note: This command is not installed outside of the application as it is designed for developers, who may have several versions of Sahana Eden at any one time.