http://www.perlmonks.org?node_id=11137551


in reply to Re^3: Test::More command-line arguments?
in thread Test::More command-line arguments?

from prove - Run tests through a TAP harness

Arguments to Tests

It is possible to supply arguments to tests. To do so separate them from prove's own arguments with the arisdottle, '::'. For example

prove -v t/mytest.t :: --url http://example.com

would run t/mytest.t with the options '--url http://example.com'. When running multiple tests they will each receive the same arguments.