Hi all, You can dowload the next version at http://users.easystreet.com/ovid/downloads/TAPx-Parser-0.12.tar.gz or wait for it to hit the CPAN.
To see the test colors, try this: perl -Ilib examples/tprove_color2 --verbose examples/t/*.t Changes: - Added a test colorization script - Callback support added. - Added TAPx::Parser::Source::Perl. - Added TAPx::Parser::Aggregator. - Added version numbers to all classes. - Added 'todo_failed' test result and parser. - 00-load.t now loads all classes instead of having individual tests load their supporting classes. - Changed $parser->results to $parser->next I was having problems with diagnostic output being out of synch with non-diagnostic output (sound familiar?) and I fixed that by changing how I run the test files: # redirecting STDERR to STDOUT seems to keep them in sync # but I lose a bit of formatting for some reason if ( open T_P_S_PERL_FH, "$command 2>&1 |" ) { return TAPx::Parser::Iterator->new(\*T_P_S_PERL_FH); } else { $self->error("Could not execute ($command): $!"); return; } It's that '2>&1' which fixes it, though I don't know why I'm losing a bit of formatting there. I also fixed the "Can't dup STDOUT" problem, but it arose again in examples/tprove_color. That uses callbacks to handle test behavior but it has the same "dup STDOUT" problem. I have no idea why. So I rewrote that and included that as examples/tprove_color2 and that uses procedural code instead of callbacks and works just fine. Any insight would be helpful. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/