[Tutor] Getting started in testing

Danny Yoo dyoo at hashcollision.org
Thu May 19 23:15:45 EDT 2016


On Thu, May 19, 2016 at 12:34 PM, Terry Carroll <carroll at tjc.com> wrote:
> Is anyone aware of any good tutorials on testing one's Python code?
>
> These days, I'm a hobby programmer, writing little things just for my own
> use, and don't really sweat testing much. But I do have one niche
> open-source project where I need to be a bit more regimented, and
> specifically need to develop a set of tests to be passed before releasing.
>
> Any resources would be helpful. I am aware of the docs on unittest, but I'm
> looking for a more tutorial approach.


Hi Terry,

The section on Unit Testing in Dive Into Python:

    http://www.diveintopython.net/unit_testing/

I have fond memories of "Test Driven Development: By Example" by Kent
Beck, so that might be worth looking into.


More information about the Tutor mailing list