TAPx::Harness::Compatible::Straps is a Perl module that offers detailed analysis of test results.
SYNOPSIS
use TAPx::Harness::Compatible::Straps;
my $strap = TAPx::Harness::Compatible::Straps->new;
# Various ways to interpret a test
my $results = $strap->analyze($name, @test_output);
my $results = $strap->analyze_fh($name, $test_filehandle);
my $results = $strap->analyze_file($test_file);
# UNIMPLEMENTED
my %total = $strap->total_results;
# Altering the behavior of the strap UNIMPLEMENTED
my $verbose_output = $strap->dump_verbose();
$strap->dump_verbose_fh($output_filehandle);
THIS IS ALPHA SOFTWARE in that the interface is subject to change in incompatible ways. It is otherwise stable.
TAPx::Harness::Compatible is limited to printing out its results. This makes analysis of the test results difficult for anything but a human. To make it easier for programs to work with test results, we provide TAPx::Harness::Compatible::Straps. Instead of printing the results, straps provide them as raw data. You can also configure how the tests are to be run.
The interface is currently incomplete. Please contact the author if you'd like a feature added or something change or just have comments.
Product's homepage
Requirements:
· Perl