Re: Questions on unittest behaviour

2006-08-19 Thread John Roth
Collin Winter wrote: > While working on a test suite for unittest these past few weeks, I've > run across some behaviours that, while not obviously wrong, don't > strike me as quite right, either. Submitted for your consideration: > > 1) TestCase.tearDown() is only run if TestCase.setUp() succeede

Re: Questions on unittest behaviour

2006-08-19 Thread Roy Smith
In article <[EMAIL PROTECTED]>, "Collin Winter" <[EMAIL PROTECTED]> wrote: > While working on a test suite for unittest these past few weeks, I've > run across some behaviours that, while not obviously wrong, don't > strike me as quite right, either. Submitted for your consideration: > > 1) Test

Questions on unittest behaviour

2006-08-18 Thread Collin Winter
While working on a test suite for unittest these past few weeks, I've run across some behaviours that, while not obviously wrong, don't strike me as quite right, either. Submitted for your consideration: 1) TestCase.tearDown() is only run if TestCase.setUp() succeeded. It seems to me that tearDown