On Thu, Apr 23, 2009 at 8:55 AM, spir <denis.s...@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 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor