[Tutor] testing framework
Kent Johnson
kent37 at tds.net
Thu Apr 23 15:11:06 CEST 2009
On Thu, Apr 23, 2009 at 8:55 AM, spir <denis.spir at free.fr> wrote:
> Hello,
>
> I would like to refactor tests of an application in a consistent form. I have a ton of tests for each module, but they are all ad hoc things.
> My app is about parsing, which input and output usually both are big and complicated *strings*. So that I find the command line model really unappropriate for expressing test cases and their expected results.
The unittest module is the other option in the standard library. nose
and py.test are popular add-on testing packages. More on unittest, and
links to the others, here:
http://personalpages.tds.net/~kent37/kk/00014.html
Kent
More information about the Tutor
mailing list