How to test python snippets in my documents?
Ned Deily
nad at acm.org
Tue May 26 12:38:05 EDT 2009
In article <ZjTSl.34029$ZP4.2476 at nlpi067.nbdc.sbc.com>,
Matthew Wilson <matt at tplus1.com> wrote:
> I'm using a homemade script to verify some code samples in my
> documentation. [...]
> The script checks all the files listed as arguments. This is OK, but is
> there anything better?
Perhaps a test-discovery framework, like nose:
http://ivory.idyll.org/articles/nose-intro.html#running-doctests-in-nose
--
Ned Deily,
nad at acm.org
More information about the Python-list
mailing list