Reputation: 1137
I'd like to run Perl tests under Ant and produce XML output in a similar format to that produced by the JUnit Ant task. I tried to install the Tap::Formatter::JUnit
module that I downloaded from http://search.cpan.org/dist/TAP-Formatter-JUnit/ and I followed the instructions described in the README file and the installation completes successfully.
But when running prove --formatter Tap::Formatter::JUnit exec.pl
, I get the following error:
Can't locate object method "new" via package "Tap::Formatter::JUnit" at C:/Perl/lib/TAP/Object.pm line 133.
Upvotes: 2
Views: 1069
Reputation: 39158
The module is named TAP…, not Tap…. Class names are case sensitive.
Upvotes: 5