[Python-ideas] Adding a test discovery into Python
stefan_ml at behnel.de
Thu Mar 12 07:47:31 CET 2009
Raymond Hettinger wrote:
> I'm strongly for offering tools that make it easier to write
> the tests in the first place. The syntax used by py.test
> and nose is vastly superior to the one used by unittest.py,
> a module that is more Javathonic than Pythonic.
> Factoid of the Day: In Py2.7's test_datetime module,
> the phrase self.assertEqual occurs 578 times.
Doesn't that just scream for using a doctest instead?
The interpreter driven type-think-copy-paste pattern works pretty well for
More information about the Python-ideas