[Python-ideas] Fwd: Adding a test discovery into Python

Antoine Pitrou solipsis at pitrou.net
Thu Mar 12 13:28:59 CET 2009

Guilherme Polo <ggpolo at ...> writes:
> This is incredible pointless if you think it this way, "only 20-30
> lines". I really don't believe you will come up with something decent
> in 20-30 lines if you intend this to be reusable for nose and maybe
> py.test (although I haven't looked much into py.test), it is not just
> about finding files, have you read the previous emails in the
> discussion ?

+1. self.assertEqual is just a typing annoyance compared to the burden of
getting the aforementioned "20-30 lines" right.

(you can probably even rip off the nose.tools module and use its convenience
functions within unittest-driven tests: ok_, eq_, etc.)

More information about the Python-ideas mailing list