Pytest vs Unittest vs Nose (PT002)

Choosing a test framework


Subscribe in iTunes
RSS: http://pythontesting.net/feed/podcast/

I list my requirements for a framework and discuss how Pytest, Unittest, and Nose measure up to those requirements.

Mentioned:

I did the audio processing differently for this episode. Please let me know how it sounds, if there are any problems, etc.

doctest introduction

The doctest test framework is a python module that comes prepackaged with Python. This post covers the basics of how to put doctests in your code, and outside of your code, in a separate file. Then I’ll show how I’m using it to test markdown.py.
[Read more…]

Poll: Which test frameworks are you most interested in?

I’m planning on covering doctest, unittest, nose, and py.test.
However, I’d like to know if my guess at interest level is right.
Also curious which framework(s) I should spend the most time on, and if I’ve missed some important framework.
I’m using a free polldaddy account, so I believe only the first 200 will be counted.

Thanks for taking the time with this.