27 Apr 23:42
[Trac-dev] Re: wiki renderer web-service for testing
From: Tim Hatch <tim <at> timhatch.com>
Subject: [Trac-dev] Re: wiki renderer web-service for testing
Newsgroups: gmane.comp.version-control.subversion.trac.devel
Date: 2008-04-27 21:42:43 GMT
Subject: [Trac-dev] Re: wiki renderer web-service for testing
Newsgroups: gmane.comp.version-control.subversion.trac.devel
Date: 2008-04-27 21:42:43 GMT
> Is it possible to expose wiki renderer interface for Trac into POST > web-service? I'll be grateful if anybody with core knowledge could > provide a small patch. It will be useful for unit testing of renderer > and in my specific case for running test for a small wiki converter. The rendered result depends on the environment url and what the environment contains. If you don't mind downloading Trac alongside your converter, you can use an EnvironmentStub (see WikiTestCase in trac/wiki/tests/formatter.py) + wiki helper methods (see the end of trac/wiki/formatter.py) and have more control over how they're configured. Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev <at> googlegroups.com To unsubscribe from this group, send email to trac-dev-unsubscribe <at> googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed