Utils

NAME

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

EXPORTED ENUMS

TestMode

Suite mode of operation:

  • TMSequential - all child suites are invoked sequentially as appear in the code

  • TMAsync ā€“ child suites are invoked asynchronously as appear in the code

  • TMRandom - child suites are invoked in random order after the suite code is done

TestStage

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

TestResult

Test outcome codes: TRPassed, TRFailed, TRSkipped

EXPORTED ROUTINES

test-result(Bool $cond, :$fail, :$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.

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 [email protected]

Test::Async v0.0.16

Thread-safe testing framework

Authors

  • Vadim Belman

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Test::Async
  • Test::Async::Aggregator
  • Test::Async::Base
  • Test::Async::Decl
  • Test::Async::Event
  • Test::Async::Hub
  • Test::Async::Job
  • Test::Async::JobMgr
  • Test::Async::Metamodel::BundleClassHOW
  • Test::Async::Metamodel::BundleHOW
  • Test::Async::Metamodel::HubHOW
  • Test::Async::Metamodel::ReporterHOW
  • Test::Async::Reporter
  • Test::Async::Reporter::TAP
  • Test::Async::Result
  • Test::Async::TestTool
  • Test::Async::Utils
  • Test::Async::When
  • Test::Async::X

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.