NAME

Test::Async::Utils - Test::Async utilities

EXPORTED ENUMS

TestMode

Suite mode of operation:

TestStage

Suite lifecycle stages: TSInitializing, TSInProgress, TSFinishing, TSFinished, TSDismissed.

TestResult

Test outcome codes: TRPassed, TRFailed, TRSkipped

EXPORTED ROUTINES

test-result(Bool $cond, Associative :$fail, Associative :$success -- Test::Async::Result)>

Creates a Test::Async::Result object using the provided parameters. $fail and $success are shortcut names for corresponding -profile attributes of Test::Async::Result class. Note that prior to storing the profiles in the object all values of the first-level keys are getting de-containerized to get any Positional attributes of Event objects initialized properly.

stringify(Mu \obj -- Str:D)>

Tries to stringify the obj in the most appropriate way. Use it to unify the look of test comments.

AUTHOR

Vadim Belman <vrurg@cpan.org>