Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Grouping tests

by djp (Hermit)
on Sep 19, 2007 at 03:57 UTC ( #639795=note: print w/replies, xml ) Need Help??


in reply to Grouping tests

This is where Test-Harness's 'prove' command-line tool shines, you can specify exactly which tests you want to run. From the doco:
* prove is granular prove lets your run against only the files you want to check. Running "prove t/live/ t/master.t" checks every *.t in t/live, plus t/master.t.
Check out the -r option as well.

Replies are listed 'Best First'.
Re^2: Grouping tests
by forkboy (Sexton) on Sep 19, 2007 at 07:02 UTC
    Thanks Prove looks very close to what I want,
    I played around a bit with Build.PL and setting up custom ACTION_test subclasses, but that seemed very clunky (they do say its alpha) and difficult to maintain.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://639795]
help
Chatterbox?
[marto]: "no it's not that"...."weirdos "...
[marto]: List EXE_FILES installed by CPAN so a couple of people suggest that your code looks obfuscated. I'd have to ageree, from the perspective of those who can't follow all of that one liner, it doesn't read well
Veltro is a weirdo, obsessed with whitespace
[marto]: to use the word "obsession" when so few people have said so little about it is grasping at staws
marto wishes tye was around, he's so much better at this sort of thing
usemodperl likes tye!
usemodperl tye  too
[choroba]: Re^3: LiBXML: New markup while preserving earlier tags? would benefit from a couple of test cases
usemodperl meant tye 
usemodperl pokes Veltro with line noise

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2018-06-24 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?