Test professionalism (was: count items in generator)

Cameron Laird claird at lairds.us
Mon May 15 17:31:33 CEST 2006


In article <mailman.5692.1147660541.27775.python-list at python.org>,
Delaney, Timothy (Tim) <tdelaney at avaya.com> wrote:
			.
			.
			.
>That's exactly my point. Assuming your test coverage is good, such an
>error would be caught by the MemoryError. An infinite loop should also
>be caught by timing out the tests, but that's much more dependent on the
>test harness.
>
>Tim Delaney

Gulp.  OK, you've got me curious:  how many people habitually frame
their unit tests with resource constraints?  I think I take testing
seriously, and certainly also am involved with resource limits often,
but I confess I've never aimed to write all my tests in terms of
bounds on time (and presumably memory and ...).  You've got me
thinking, Tim.



More information about the Python-list mailing list