Art of Unit Testing

Grig Gheorghiu grig.gheorghiu at gmail.com
Tue Aug 2 12:58:58 EDT 2005


The py.test module offers setup/teardown hooks at the method, class and
module level. The scenario you're describing would be covered at the
module level. See the py.test documentation for more details:
<http://codespeak.net/py/current/doc/test.html#managing-test-state-across-test-modules-classes-and-methods>

Grig

====
http://agiletesting.blogspot.com




More information about the Python-list mailing list