1App::Prove::State::ResuUlste:r:TCeosntt(r3i)buted Perl DAopcpu:m:ePnrtoavtei:o:nState::Result::Test(3)
2
3
4

NAME

6       App::Prove::State::Result::Test - Individual test results.
7

VERSION

9       Version 3.42
10

DESCRIPTION

12       The "prove" command supports a "--state" option that instructs it to
13       store persistent state across runs. This module encapsulates the
14       results for a single test.
15

SYNOPSIS

17           # Re-run failed tests
18           $ prove --state=failed,save -rbv
19

METHODS

21   Class Methods
22       "new"
23
24   Instance Methods
25       "name"
26
27       The name of the test.  Usually a filename.
28
29       "elapsed"
30
31       The total elapsed times the test took to run, in seconds from the
32       epoch..
33
34       "generation"
35
36       The number for the "generation" of the test run.  The first generation
37       is 1 (one) and subsequent generations are 2, 3, etc.
38
39       "last_pass_time"
40
41       The last time the test program passed, in seconds from the epoch.
42
43       Returns "undef" if the program has never passed.
44
45       "last_fail_time"
46
47       The last time the test suite failed, in seconds from the epoch.
48
49       Returns "undef" if the program has never failed.
50
51       "mtime"
52
53       Returns the mtime of the test, in seconds from the epoch.
54
55       "raw"
56
57       Returns a hashref of raw test data, suitable for serialization by YAML.
58
59       "result"
60
61       Currently, whether or not the test suite passed with no 'problems'
62       (such as TODO passed).
63
64       "run_time"
65
66       The total time it took for the test to run, in seconds.  If
67       "Time::HiRes" is available, it will have finer granularity.
68
69       "num_todo"
70
71       The number of tests with TODO directives.
72
73       "sequence"
74
75       The order in which this test was run for the given test suite result.
76
77       "total_passes"
78
79       The number of times the test has passed.
80
81       "total_failures"
82
83       The number of times the test has failed.
84
85       "parser"
86
87       The underlying parser object.  This is useful if you need the full
88       information for the test program.
89
90
91
92perl v5.30.1                      2020-01-30App::Prove::State::Result::Test(3)
Impressum