-
Notifications
You must be signed in to change notification settings - Fork 60
Prove
Felipe Contreras edited this page Apr 24, 2024
·
1 revision
Sharness is meant to be used as a harness for the Test Anything Protocol, therefore any TAP driver can be used, but the most popular one is prove.
To use it one can simply run prove simple.t, prove *.t, or if all the tests are in the t/ directory: prove.
To show every test one can pass -v. To show details of the a failure one can pass -o that won't work unless a single job is being run, which can be forced with -j1.
To pass arguments to the tests one must use ::, for example prove :: -i.