use-ok
ErrorsCollection

use-ok

Synthesised documentation from type/Test

From type/Test

See Original text in context

multi sub use-ok(Str $code$desc = "$code module can be use-d ok")

Marks a test as passed if the given $module loads correctly.

use-ok 'Full::Qualified::ModuleName';

Since $code is being turned into an EVAL, you can also pass arguments:

use-ok 'Full::Qualified::ModuleName :my-argument';