Documentation for sub use-ok
assembled from the following pages:
Module: Test §
From Test
(Test) sub use-ok §
Defined as:
multi sub use-ok(Str , = "$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';