dragonchild has asked for the wisdom of the Perl Monks concerning the following question:
Here's the problem - I don't want to have copies of identical tests for each subclass. Instead, I want to run the same subset of tests against each renderer. But, I want to have a comprehensive output. So, I want to have something like:
Then, something useful in the summary. (I haven't even thought that far.)Overall: t/foo.t ... ok t/bar.t ... ok Subclass1: t/001.t ... ok t/002.t ... failed 5/22 failure message here Subclass2: t/001.t ... failed 1/2 failure message here t/002.t ... failed 3/22 failure message here
First off - has anyone done this? Second, how easy would this to do with Module::Build? (I'm not even going to think about doing this with EU::MM.) Am I really looking for an extension to TAP and a subclass of Test::Harness::Straps?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running a set of tests twice
by xdg (Monsignor) on Dec 09, 2005 at 12:05 UTC | |
|
Re: Running a set of tests twice
by randyk (Parson) on Dec 09, 2005 at 05:32 UTC | |
|
Re: Running a set of tests twice
by ambrus (Abbot) on Dec 09, 2005 at 09:00 UTC | |
by donarb (Beadle) on Dec 10, 2005 at 18:14 UTC | |
|
Re: Running a set of tests twice
by adrianh (Chancellor) on Dec 10, 2005 at 22:32 UTC |