Changes between Version 119 and Version 120 of DeveloperGuidelinesTesting


Ignore:
Timestamp:
08/15/11 18:33:51 (14 years ago)
Author:
Mike A
Comment:

clarification about back to back tests and observed output duplication

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesTesting

    v119 v120  
    128128* Read this too: [http://ivory.idyll.org/articles/nose-intro.html]
    129129* Information on doing !UnitTests in Web2Py: http://www.web2py.com/AlterEgo/default/show/260
    130 * '''Never use actual output as expected result output in a test.''' This defeats the purpose of the unit tests, as they now test nothing and just become a maintenance headache. Instead, use what you expect.
     130* '''Don't copy and paste actual output as expected result output in a unit test.''' This defeats the purpose of the unit tests, as they now test nothing and just become a maintenance headache. Instead, use what you expect. The only case for doing this is for a back-to-back test with old code when no unit tests exist.
    131131
    132132=== Running unit tests ===