Changes between Version 119 and Version 120 of DeveloperGuidelinesTesting
- Timestamp:
- 08/15/11 18:33:51 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v119 v120 128 128 * Read this too: [http://ivory.idyll.org/articles/nose-intro.html] 129 129 * 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. 131 131 132 132 === Running unit tests ===