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.comwould run t/mytest.t with the options '--url http://example.com'. When running multiple tests they will each receive the same arguments.
In reply to Re^4: Test::More command-line arguments?
by sbohning
in thread Test::More command-line arguments?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |