Roy Smith <[EMAIL PROTECTED]> writes: > Ben Finney <[EMAIL PROTECTED]> wrote: > > > Surely, since "suddenly" implies you changed one small area of the > > code, that area of the code is the best place to look for what caused > > the failure. > > Sometimes it's the environment that's changed. Yes, I know, a good > unit test doesn't depend on the environment, but in real life, > that's sometimes difficult to achieve.
Fair enough, I hadn't considered that case of "suddenly". In that case, I would recommend a change to the test *reporter*, so that the tests are still run in an arbitrary sequence, but the failures are reported in some desired sequence. -- \ “Holy tintinnabulation, Batman!” —Robin | `\ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list