Remember to use the ‘-i’ flag when starting an interactive python session from cygwin if you’ve installed python with a windows installer. [Read more…]
Well, the poll I put up a couple weeks ago has 125 votes last I checked.
- nose, 42 votes
- pytest, 32 votes
- unittest, 29 votes
- doctest, 18 votes
- other, 4 votes
The other votes were:
- twisted trial (also mentioned in a comment)
This is mostly what I expected.
So I think I’m on the [Read more…]
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.
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.