-
-
01 Apr 2015 17:18:54 UTC
- Distribution: TAP-Formatter-Diffable
- Module version: 0.15
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (559 / 0 / 0)
- Kwalitee
Bus factor: 1- 34.00% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (9.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- accessors
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
TAP::Formatter::Diffable - Diff friendly (ie sorted) TAP output.
SYNOPSIS
prove -j5 --formatter=TAP::Formatter::Diffable t
DESCRIPTION
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.
cpanm TAP::Formatter::Diffable
perl -MCPAN -e shell install TAP::Formatter::Diffable
For more information on module installation, please visit the detailed CPAN module installation guide.