dekimsey has asked for the wisdom of the Perl Monks concerning the following question:
In my unit testing I frequently find that I'd like to be able to fail-fast on my unit tests. I usually organize them so that later tests depend on the success of prior ones to insure the tools/modules/logic is working correctly.
Unfortunately, if one of the earlier tests fail, there might be a massive wave of other failures shortly there after and it can be difficult to find that first one. I noticed that Test::Harness itself doesn't seem to have a fail-fast option or flag.
Is there any way to make it behave in this fashion?
Any suggestions or thoughts would be welcome on this!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How would I make Test::Harness fail-fast?
by gwadej (Chaplain) on Jun 01, 2009 at 03:36 UTC | |
by dekimsey (Sexton) on Jun 01, 2009 at 20:55 UTC | |
|
Re: How would I make Test::Harness fail-fast?
by Khen1950fx (Canon) on Jun 01, 2009 at 00:03 UTC | |
by dekimsey (Sexton) on Jun 01, 2009 at 02:11 UTC | |
by Khen1950fx (Canon) on Jun 01, 2009 at 02:42 UTC | |
|
Re: How would I make Test::Harness fail-fast?
by syphilis (Archbishop) on Jun 01, 2009 at 00:16 UTC | |
by dekimsey (Sexton) on Jun 01, 2009 at 02:21 UTC | |
|
Re: How would I make Test::Harness fail-fast?
by Bloodnok (Vicar) on Jun 01, 2009 at 09:52 UTC |