In article <[EMAIL PROTECTED]>, Ben Finney <[EMAIL PROTECTED]> wrote:
> This is a poor design; your tests will each be starting in a different > state, and will likely not run the same way if run in a different > order, making them fragile. > > Test cases should each run individually, from a known state, and not > depend on any other tests. You can define a fixture for several tests > in the unittest.TestCase methods setUp() and tearDown(), to establish > and clear up respectively for each test. In general, I certainly agree with the above. The problem is that sometimes setup is so expensive, it becomes impractical to do a full setup/teardown cycle for each test. -- http://mail.python.org/mailman/listinfo/python-list