perlperl-prove

How can I tell Perl's prove utility to ignore certain tests?


Currently I run prove like this:

prove -v -r .

Is there a way to exclude files using regex? I could not see that in perldoc prove or the output of prove -H.


Solution

  • I usually do something like this:

    $ find t/ -name '*.t' ! -name '*timeout*' | xargs prove -l
    

    (skips slow timeout tests)