APP::PROVE::STATE::RESULT::TEST(3perl)
β¨ NAME β¨
App::Prove::State::Result::Test β the individual test results, bestie π one test, one lil record, that's the whole vibe.
π« VERSION π«
Version 3.52 π
π DESCRIPTION π
okay so π
the prove command has this --state option, right? and what it does is tell prove to store persistent state across runs β like, it remembers stuff between times you run it. iconic behavior fr fr.
This module right here is the lil package that wraps up the results for a single test. that's it, that's the job. she's small but she's important π
π SYNOPSIS π
# Re-run failed tests
$ prove --state=failed,save -rbv
look at her go πβοΈπ¨
π₯ METHODS π₯
Class Methods
new
(the page keeps it mysterious, no further deets bestie π«£)
Instance Methods
name
the name of the test. usually a filename. very "who am I, really" of her πΈ
elapsed
the total elapsed time(s) the test took to run, counted in seconds from the epoch.. (yes with the lil double dot, we love a dramatic pause π)
generation
the number for the "generation" of the test run. first generation is 1 (one, the OG π) and then the subsequent generations go 2, 3, etc. it's giving family tree π³
last_pass_time
the last time the test program passed, in seconds from the epoch.
returns undef if the program has never passed π
last_fail_time
the last time the test suite failed, in seconds from the epoch.
returns undef if the program has never failed β¨
mtime
returns the mtime of the test, in seconds from the epoch. classic π°οΈ
raw
returns a hashref of raw test data, suitable for serialization by YAML. no notes βοΈ
result
currently, whether or not the test suite passed with no 'problems' (such as TODO passed).
run_time
the total time it took for the test to run, in seconds. and if Time::HiRes is available, it'll have finer granularity β precision queen π
num_todo
the number of tests with TODO directives. we'll get to it bestie π
sequence
the order in which this test was run for the given test suite result. line order, no cutting π’
total_passes
the number of times the test has passed. we love a W π
total_failures
the number of times the test has failed. it's giving character development π
parser
the underlying parser object. super useful if you need the full information for the test program β the whole lore, the deep cuts, everything π§
okay periodt that's the whole page bestie π«Ά this was written up under perl v5.44.0, dated 2026-10-17, and it says App::Prove::State::Result::Test(3perl) right there at the bottom, slay πβ¨π
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms