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 is 1 (one) and subsequent generations are 2, 3, etc. πŸ”’
  • 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. πŸ•°οΈ
  • 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. If Time::HiRes is 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