[TIP] Usefulness of new tool?

Benji York benji at benjiyork.com
Wed Jun 27 12:36:46 PDT 2007

Andre Roberge wrote:
> Lately I have started writing doctest-based unit tests for Crunchy.
> The approach I use is to write text files containing doctests and
> comments.  It occurred to me that I could convert these text files
> into html document usable by Crunchy.  I could modify Crunchy so that
> it could, at the click of a button, execute all of the embedded
> "doctest" code and display the result on the page.

Perhaps I'm missing it, but I don't see the benefit.  Can you can 
explain the advantages you perceive of doctests in HTML vs. doctests in 
Benji York

More information about the testing-in-python mailing list