in reply to Re^2: Can Test::Harness treat sets of tests as files?
in thread Can Test::Harness treat sets of tests as files?

More like this, then?
t$ prove -v t00_[pu]* t00_pod....1..3 ok 1 - Base is covered ok 2 - Deploy is covered ok 3 - Update is covered ok t00_upd....1..2 ok 1 - Module loaded successfully ok 2 - new() -- returns proper object ok All tests successful. Files=2, Tests=5, 0 wallclock secs ( 0.26 cusr + 0.02 csys = 0.27 C +PU)

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^4: Can Test::Harness treat sets of tests as files?
by TGI (Parson) on Jan 31, 2008 at 22:42 UTC

    I think this is what kyle is asking for:

    t$ prove -v t00_[pu]* t00_pod::TestGroupA....1..3 ok 1 - Base is covered ok 2 - Deploy is covered ok 3 - Update is covered ok t00_pod::TestGroupB....1..2 ok 1 - Module loaded successfully ok 2 - new() -- returns proper object ok t00_upd....1..2 ok 1 - Module loaded successfully ok 2 - new() -- returns proper object ok All tests successful. Files=2, Tests=7, 0 wallclock secs ( 0.26 cusr + 0.02 csys = 0.27 C +PU

    Not sure how to get it though.


    TGI says moo

Re^4: Can Test::Harness treat sets of tests as files?
by kyle (Abbot) on Jan 31, 2008 at 21:12 UTC

    No, that's actually further away from what I'm looking for. What I want is one script that will output test results as if Test::Harness (aka prove) had been given many scripts.