On Wed, Dec 30, 2009 at 11:51, Chris Withers <ch...@simplistix.co.uk> wrote:
> Lennart Regebro wrote:
>> So. I want either to get a normal unittest.TextTestRunner().run(suite)
>> to include the testcode blocks, *or* I need to override the testparser
>> for sphinx. Any recommendations for how to do this? Looking into how
>> sphinx.ext.doctest works, I believe the first option is
>> hellacomplicated. Is there a way for the second one?
>
> I think you should look at Manuel:
>
> http://packages.python.org/manuel/

Well, I was able to make it run with my own parser. It needed a
surprising amount of code duplication, but it worked and was easy.
However, it still completely refuses to execute any codeblock stuff
(or at least reports no error, even though the code is invalid). It's
also not clear to me how the output of a codeblock would be tested.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64

--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to