Menu

Commit [r3153]  Maximize  Restore  History

`IWikiSyntaxProvider` related unit-tests are now dispatched in their relevant modules.

* Better display of wiki unit-tests failure, so that it's easy
to grasp the difference between ''expected'' result and
''actual'' result.
* In `trac.wiki.tests.formatter`, the link resolver syntax is tested
using a sample link resolver
* finally, there's a test file trac/tests/allwiki.py file which
can be used to test all the wiki related tests in Trac core.

Now it becomes fairly easy for plugins to add their own tests
for the wiki syntax they provide.

cboos 2006-04-13

changed /trunk/trac/test.py
changed /trunk/trac/tests/__init__.py
added /trunk/trac/tests/allwiki.py
copied /trunk/trac/ticket/tests/__init__.py -> /trunk/trac/versioncontrol/web_ui/tests/__init__.py
changed /trunk/trac/ticket/tests/wikisyntax.py
copied /trunk/trac/ticket/tests/wikisyntax.py -> /trunk/trac/tests/wikisyntax.py
copied /trunk/trac/ticket/tests/wikisyntax.py -> /trunk/trac/versioncontrol/web_ui/tests/wikisyntax.py
copied /trunk/trac/ticket/tests/wikisyntax.py -> /trunk/trac/web/tests/wikisyntax.py
copied /trunk/trac/ticket/tests/wikisyntax.py -> /trunk/trac/wiki/tests/wikisyntax.py
added /trunk/trac/versioncontrol/web_ui/tests
changed /trunk/trac/web/tests/__init__.py
changed /trunk/trac/wiki/tests/__init__.py
changed /trunk/trac/wiki/tests/formatter.py
changed /trunk/trac/wiki/tests/wiki-tests.txt
/trunk/trac/test.py Diff Switch to side-by-side view
Loading...
/trunk/trac/tests/__init__.py Diff Switch to side-by-side view
Loading...
/trunk/trac/tests/allwiki.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/tests/wikisyntax.py Diff Switch to side-by-side view
Loading...
/trunk/trac/web/tests/__init__.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/__init__.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/formatter.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/wiki-tests.txt Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB