Remember to use the ‘-i’ flag when starting an interactive python session from cygwin if you’ve installed python with a windows installer. Continue reading
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 Continue reading
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.