[TIP] Need suggestion : To start the testing , reference guide
lac at openend.se
Fri Feb 25 01:33:15 PST 2011
> In a message of Fri, 25 Feb 2011 13:48:45 +0530, Arulalan T writes:
> Dear All,
> I am newbie to testing in python and also newbie to testing our code.
> Can any one suggest me any link / book to start work (study) the
> testing in python as beginner of testing...
> When I google, it gives me a few links about Unittest in python.
> Is the above link is sufficient to start and implement the unittest
> for my code . . .
> Any suggestions are welcome to learn more about testing in python.
> Thanks in advance... :)
> Project Associate
> Centre for Atmospheric Sciences
> Indian Institute of Technology Delhi
Assuming you are looking for a hands-on way to learn _how to do it_,
rather than a more theoretical discussion of what testing is good for, etc.
The exercise I give my students (who are children) to learn about testing
is http://diveintopython.org/unit_testing/index.html . There is a
Python 3.0 version here: http://diveintopython3.org/unit-testing.html
It uses unittest, but you could do this exercise with py.test or nose
or any other test framework you desire. (We do it with py.test.).
good luck, and remember that questions are always welcome here,
More information about the testing-in-python