unittest

Mag Gam magawake at gmail.com
Fri Aug 14 23:28:32 EDT 2009


I am writing an application which has many command line arguments.
For example: foo.py -args "bar bee"

I would like to create a test suit using unittest so when I add
features to "foo.py" I don't want to break other things. I just heard
about unittest and would love to use it for this type of thing.

so my question is, when I do these tests do I have to code them into
foo.py? I prefer having a footest.py which will run the regression
tests. Any thoughts about this?

TIA



More information about the Python-list mailing list