Changes between Version 19 and Version 20 of TracDev/UnitTests
- Timestamp:
- Sep 25, 2014, 1:49:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/UnitTests
v19 v20 61 61 For example, say you want to add tests for the module {{{trac.foo}}} (which maps to {{{trac/foo.py}}}). You'll need to create a new module at {{{trac/tests/foo.py}}} and put the tests there. Also, you'll have to edit the {{{__init__.py}}} in the {{{tests}}} package so that your new unit tests get executed with the others. 62 62 63 Under WritingUnitTests you find a tutorial for writing your own unit tests. 64 63 65 == Utility code for unit tests == 64 66