On 01/08/2010 08:30, Huy Ton That wrote:
Hi all,
Do any of you have any feedback, strategies and best practices related to
unit testing within Python. This is a relatively new topic for me. I was
thinking of starting with reading the documentation associate with the
unittest module.
-Huy
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
The documentation is a good starting point. Then see the excellent:-
http://diveintopython.org/unit_testing/index.html.
Also look at the actual Python test code in the Lib\test\ directory.
Depending on the code that you're wanting to test you might also want to
google for mock+objects, but this can wait until you've got your feet
under the table.
HTH.
Mark Lawrence.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor