The biggest problem affecting the venerable Test::Harness is that the parsing, analyzing, and presentation of TAP output has been so tightly coupled that people have found it very hard to do anything "unusual" with it. My primary goal has been to break that coupling so that you can do anything you want. So the TAPx::Harness uses the TAPx::Parser to parse and analyze results and it presents the summary. It's simple enough that you can now use anything else you want to present this information. So yes, the intermediate abstract test results are all available in a very easy to use format. So here's one simplistic way, for example, of just printing failed tests:
my $parser = TAPx::Parser->new( { source => 't/customers.t' } ); while ( defined ( my $result = $parser->next ) ) { print $result->as_string . "\n" if ! $result->is_ok; }
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: Need advice on test output
by Ovid
in thread Need advice on test output
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |