develooper Front page | perl.qa | Postings from January 2005

[PATCH Test::Harness::Straps] Add Diagnostic Output to StrapsResults

Thread Next
From:
chromatic
Date:
January 26, 2005 15:39
Subject:
[PATCH Test::Harness::Straps] Add Diagnostic Output to StrapsResults
Message ID:
1106782729.16520.12.camel@localhost
Hi all,

As threatened in comments on Ovid's journal about colorizing test output
(and displaying better diagnostics on success or failure), here's a
small patch to Test::Harness::Straps to collect the diagnostic
information currently dumped to STDERR and to store it in the test data
structure for Straps users to collect:

	http://use.perl.org/~Ovid/journal/22899

I haven't added a flag to enable or disable this and
Test::Harness::Straps itself could use some severe refactoring, but this
is just a first pass to see if it's something other people might like.

I've also attached a patch to qtest to show how to use it.

Enjoy,
-- c



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About