01 Apr 2015 17:18:54 UTC
- Distribution: TAP-Formatter-Diffable
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (559 / 0 / 0)
- KwaliteeBus factor: 1
- 34.00% Coverage
- License: perl_5
- Activity24 month
- Download (9.61KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
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"
- Example Pass
All tests successful. Files=1, Tests=1, Result: PASS
- Example Fail
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
Module Install Instructions
To install TAP::Formatter::Diffable, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install TAP::Formatter::Diffable
For more information on module installation, please visit the detailed CPAN module installation guide.