APP::PROVE::STATE::RESULT::TEST(3pm)
π NAME π
App::Prove::State::Result::Test β Individual test results. Yes bestie, this is that manual page, and it's all about keeping track of one single test's results. π
β¨ VERSION β¨
Version 3.50 β locked in, no cap. π
πΈ DESCRIPTION πΈ
okay so the prove command has this --state option, right? It tells prove to store persistent state across runs β like it remembers stuff between test runs, iconic behavior. This module is the little container that encapsulates the results for a single test. π«Ά
π SYNOPSIS π
# Re-run failed tests
$ prove --state=failed,save -rbv
π¦ METHODS π¦
π Class Methods π
newβ the class method. That's the entry, bestie. β¨
π Instance Methods π
nameβ the name of the test. Usually a filename. πΎelapsedβ the total elapsed times the test took to run, in seconds from the epoch.. β³generationβ the number for the "generation" of the test run. The first generation is1(one) and subsequent generations are2,3, etc. π’last_pass_timeβ the last time the test program passed, in seconds from the epoch. Returnsundefif the program has never passed. βlast_fail_timeβ the last time the test suite failed, in seconds from the epoch. Returnsundefif the program has never failed. πmtimeβ returns themtimeof the test, in seconds from the epoch. π°οΈrawβ returns a hashref of raw test data, suitable for serialization by YAML. π§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. IfTime::HiResis available, it will have finer granularity. β‘num_todoβ the number of tests with TODO directives. πsequenceβ the order in which this test was run for the given test suite result. πtotal_passesβ the number of times the test has passed. πtotal_failuresβ the number of times the test has failed. πparserβ the underlying parser object. This is useful if you need the full information for the test program. π
okay bestie, that's the whole page π
this one ships with perl v5.42.3, dated 2026-11-03, and the footer label is App::Pr...lt::Test(3pm). mwah, go run some tests β¨π¦
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms