This is an interesting question. I am just wondering: do you really have that many features that it would be impossible to just have a shell script run specific types of input or tests?<br><br>When I did programming in the past for education they just had lists of input data and we ran the program against the test data.<br>
<br>I just get slightly confused when "test suites" start to have to apply?<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 9:28 PM, Mag Gam <span dir="ltr"><<a href="mailto:magawake@gmail.com">magawake@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am writing an application which has many command line arguments.<br>
For example: foo.py -args "bar bee"<br>
<br>
I would like to create a test suit using unittest so when I add<br>
features to "foo.py" I don't want to break other things. I just heard<br>
about unittest and would love to use it for this type of thing.<br>
<br>
so my question is, when I do these tests do I have to code them into<br>
foo.py? I prefer having a footest.py which will run the regression<br>
tests. Any thoughts about this?<br>
<br>
TIA<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>