in reply to New testing tool in the new Test::Harness

I really like what you've done with prove. I am wondering, though, why it no longer allows you to include or exclude tests? That's not a function that I often use, but sometimes I just want to be able to do something like this to run all "product" tests:

prove -i '*product*'

Then, when I'm satisfied that that the product tests run, I run the full test suite. This is very handy when you have a test suite that takes an hour to run, but you can zip through your product tests in about five minutes.

That's a minor nit, though. It's great work you've put together!

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re: Re: New testing tool in the new Test::Harness
by petdance (Parson) on Nov 08, 2003 at 23:33 UTC
    I wasn't sure how I'd implement it. I didn't want to get into having prove do file-glob matching right off. As it is now, you can do
    prove $(find . -name '*prove*')
    which gives you the desired result.

    xoxo,
    Andy