From: Gavin Sinclair Date: 2003-01-28T06:50:56+09:00 Subject: Re: Test::Unit -> order of tests? On Tuesday, January 28, 2003, 5:35:12 AM, Paul wrote: > On Tue, Jan 28, 2003 at 03:12:14AM +0900, Chad Fowler wrote: >> >> I humbly disagree with this. If the order of the tests is guaranteed, it >> would promote temporal coupling between the test cases. It's better to >> let each "test..." method stand alone without dependencies on the other >> methods. > I disagree with this. I have a test that check for a specific bug in > our software. The bug caused the software to segfault. I prefer to run > this test after all my other tests (since otherwise some of the tests > may not get run at all in the nightly build). I'm no UT expert, but there *must* be another way to achieve this without relying on order of tests. If you reply on it, it's better style to make that explicit rather than implicit, IMO. Gavin