1Test::Run::Straps::StraUpsseTrotCaolnstOrbijb(u3t)ed PerTlesDto:c:uRmuenn:t:aSttiroanps::StrapsTotalsObj(3)
2
3
4
6 Test::Run::Straps::StrapsTotalsObj - an object representing the totals
7 of the straps class.
8
11 $self->_calc_passing()
12 Calculates whether the test file has passed.
13
14 $self->determine_passing()
15 Calculates whether the test file has passed and caches it in the
16 passing() slot.
17
18 $self->last_detail()
19 Returns the last detail.
20
21 $self->handle_event({event => $event, enormous_num_cb => sub {...}});
22 Updates the state of the details using a new TAP::Parser event - $event
23 . "enormous_num_cb" points to a subroutine reference that is the
24 callback for handling enormous numbers.
25
26 $self->update_skip_reason($detail)
27 Updates the skip reason according to the detail $detail.
28
29 $self->get_failed_obj_params
30 Returns a key value array ref of params for initializing the failed-
31 object.
32
33 $self->update_based_on_last_detail()
34 Check if the last_detail is OK, and if so update the skip_reason based
35 on it.
36
37 $self->in_the_middle()
38 Checks if the tests are in the middle - already some were seen but the
39 end was not reached.
40
41 $self->bonus()
42 Number of TODO tests that unexpectedly passed.
43
44 $self->details()
45 An array containing the details of the individual checks in the test
46 file.
47
48 $self->exit()
49 The exit code of the test script.
50
51 $self->filename()
52 The filename of the test script.
53
54 $self->max()
55 The number of planned tests.
56
57 $self-ok()
58 The number of tests that passed.
59
60 $self->passing()
61 A boolean value that indicates whether the entire test script is
62 considered a success or not.
63
64 $self->seen()
65 The number of tests that were actually run.
66
67 $self->skip()
68 The number of skipped tests.
69
70 $self->skip_all()
71 This field will contain the reason for why the entire test script was
72 skipped, in cases when it was.
73
74 $self->skip_reason()
75 The skip reason for the last skipped test that specified such a reason.
76
77 $self->todo()
78 The number of "Todo" tests that were encountered.
79
80 $self->wait()
81 The wait code of the test script.
82
84 Test::Run::Base::Struct, Test::Run::Obj, Test::Run::Core
85
87 This file is licensed under the MIT X11 License:
88
89 http://www.opensource.org/licenses/mit-license.php
90
92 Shlomi Fish, <http://www.shlomifish.org/>.
93
94
95
96perl v5.34.0 2021-07-T2e3st::Run::Straps::StrapsTotalsObj(3)