Test::Async::Metamodel::HubHOW
- metaclass backing Hub/Suite classes.
This class acts as a registry for test bundle roles, and as a construction yard for the custom Test::Async::Suite
class.
register-bundle(Mu \bundle-role)
Registers bundle role for later suite class construction.
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
.
suite-class(\hub-class)
Convenience shortcut to construct-suite
suite(\obj)
Returns True if suite class has been constructed already.
bundles()
Returns a list of registered bundles.
Test::Async::Manual
, Test::Async::Decl
Vadim Belman vrurg@cpan.org