Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.11 KB

Test.md

File metadata and controls

37 lines (19 loc) · 1.11 KB

Class Test::Async::Event::Test

Is Test::Async::Event::Report.

Base class for events reporting test outcomes.

Attributes

  • Str $.todo – message to use if test is marked as TODO.

  • Str $.flunks – message to use if test is marked as anticipated failure (see test-flunks in Test::Async::Base.

  • CallFrame:D $.caller, required – position in user code where the test was called.

  • @.child-messages – messages from child suites. Each entry should be a single line ending with newline.

  • @.comments – comments for the test. Normally expected to be reported with diag. Not special formatting

  • @.pre-comments - similar to the above, but these will preceed the main test message requirements except for a recommendation for the last line not to end with a newline.

SEE ALSO

COPYRIGHT

(c) 2020-2023, Vadim Belman [email protected]

LICENSE

Artistic License 2.0

See the LICENSE file in this distr