HubHOW

NAME

Test::Async::Metamodel::HubHOW - metaclass backing Hub/Suite classes.

DESCRIPTION

This class acts as a registry for test bundle roles, and as a construction yard for the custom Test::Async::Suite class.

methods

register-bundle(Mu \bundle-role)

Registers bundle role for later suite class construction.

method

construct-suite(\hub-class -- Test::Async::Suite:U)>

Returns a custom Test::Async::Suite class based on all test bundles registered. The construction happens only once, all consequent calls to the method get the same suite type object.

Normally this method is to be invoked on the hub class: Test::Async::Hub.^construct-suite.

method

suite-class(\hub-class)

Convenience shortcut to construct-suite

method

suite(\obj)

Returns True if suite class has been constructed already.

method

bundles()

Returns a list of registered bundles.

SEE ALSO

Test::Async::Manual, Test::Async::Decl

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.