Perl Jenkins Error - Can't load TAP::Formatter::JUnit
I wrote a test using test::more and now I'm trying to use
TAP::Formatter::JUnit for running the test and converting the results to
Junit xml. but when I try to run: prove --formatter=TAP::Formatter::JUnit
-l test.t > results.xml I get: Can't load TAP::Formatter::JUnit
also if I do this:
use TAP::Harness;
my $harness = TAP::Harness->new( {
formatter_class => 'TAP::Formatter::JUnit',
merge => 1,
} );
$harness->runtests("test.t");
I get the same problem.
do anyone knows what can be the problem? Thanks
No comments:
Post a Comment