TAP::Formatter::Diffable - Diff friendly (ie sorted) TAP output.
prove -j5 --formatter=TAP::Formatter::Diffable t
Delays TAP output until the entire test suite has completed.
Sorts test output by test filename. This way tests alway display in the same order, even when processing in parallel.
Skips over passing tests, unless they are marked as TODO. These are skipped to make the diff easier to matchup when test numbers change slightly.
Sorts the final "Test Results"
All tests successful. Files=1, Tests=1, Result: PASS
Failed test 'Example failred test' # at t/00-load.t line 6. # Looks like you planned 1 test but ran 2. # Looks like you failed 1 test of 2 run. [t/00-load.t] not ok 2 - Example failred test Test Summary Report ------------------- t/00-load.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Parse errors: Bad plan. You planned 1 tests but ran 2. Files=1, Tests=2, Result: FAIL
To install TAP::Formatter::Diffable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TAP::Formatter::Diffable
CPAN shell
perl -MCPAN -e shell install TAP::Formatter::Diffable
For more information on module installation, please visit the detailed CPAN module installation guide.