Edgewall Software

Changes between Version 19 and Version 20 of TracDev/UnitTests


Ignore:
Timestamp:
Sep 25, 2014, 1:49:00 PM (10 years ago)
Author:
Franz Mayer <franz.mayer@…>
Comment:

Added link to WritingUnitTests

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/UnitTests

    v19 v20  
    6161For 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.
    6262
     63Under WritingUnitTests you find a tutorial for writing your own unit tests.
     64
    6365== Utility code for unit tests ==
    6466