TAP::Stream - Experimental TAP stream builder for parallel tests
version 0.43
my $stream = TAP::Stream->new; $stream->add_to_stream( TAP::Stream::Text->new( name => 'foo tests', text => <<'END' ) ok 1 - foo 1 ok 2 - foo 2 1..2 END ); $stream->add_to_stream( TAP::Stream::Text->new( name => 'bar tests', text => <<'END' ) ok 1 - bar 1 ok 2 - bar 2 ok 1 - bar subtest 1 ok 2 - bar subtest 2 not ok 2 - bar subtest 3 #TODO ignore not ok 3 - bar subtest ok 4 - bar 4 1..4 END ); my $parent_stream = TAP::Stream->new( name => 'parent stream' ); $parent_stream->add_to_stream($stream); $parent_stream->add_to_stream($stream); # yes, you can add it twice my $master_stream = TAP::Stream->new( name => 'master stream' ); $master_stream->add_to_stream($parent_stream); say $master_stream->tap_to_string;
Highly experimental module to combine multiple TAP streams. If it works, maybe it will be released as a separate module one day.
FOR INTERNAL USE ONLY WITH Test::Class::Moose.
Curtis "Ovid" Poe <ovid@cpan.org>
This software is copyright (c) 2014 by Curtis "Ovid" Poe.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::Class::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Class::Moose
CPAN shell
perl -MCPAN -e shell install Test::Class::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.