17 Apr 2022 15:14:25 UTC
- Distribution: Test-Harness
- Module version: 3.44
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (62)
- Testers (574 / 3 / 0)
- KwaliteeBus factor: 5
- % Coverage
- License: perl_5
- Activity24 month
- Download (210.11KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
App::Prove::State::Result::Test - Individual test results.
provecommand supports a
--stateoption that instructs it to store persistent state across runs. This module encapsulates the results for a single test.
# Re-run failed tests $ prove --state=failed,save -rbv
The name of the test. Usually a filename.
The total elapsed times the test took to run, in seconds from the epoch..
The number for the "generation" of the test run. The first generation is 1 (one) and subsequent generations are 2, 3, etc.
The last time the test program passed, in seconds from the epoch.
undefif the program has never passed.
The last time the test suite failed, in seconds from the epoch.
undefif the program has never failed.
Returns the mtime of the test, in seconds from the epoch.
Returns a hashref of raw test data, suitable for serialization by YAML.
Currently, whether or not the test suite passed with no 'problems' (such as TODO passed).
The total time it took for the test to run, in seconds. If
Time::HiResis available, it will have finer granularity.
The number of tests with TODO directives.
The order in which this test was run for the given test suite result.
The number of times the test has passed.
The number of times the test has failed.
The underlying parser object. This is useful if you need the full information for the test program.
Module Install Instructions
To install Test::Harness, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Test::Harness
For more information on module installation, please visit the detailed CPAN module installation guide.