forkboy has asked for the wisdom of the Perl Monks concerning the following question:
I've got a very large internal project (many hundreds of packages) I'm trying to come up with a nice method of grouping tests together to allow a "group" of tests to be run, rather than all the tests.
I was thinking something like, laying out the tests as
t/001_first_global_test.t t/001_second_global_test.t t/group1/001_first_group1_test.t t/group2/001_first_group2_test.t t/group2/002_second_group2_test.t
then being able to do
make test group1
and just have t/group1/001_first_group1_test.t run or
make test all
and running every test
Is there a standard way for doing this? Currently how we handle it is the project is broken up into hundreds of separate (h2xs created) modules.. which is quite a pain to manage, I'd really like to bring them all together as 1 module with all the packages in it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Grouping tests
by Prof Vince (Friar) on Sep 18, 2007 at 08:39 UTC | |
Re: Grouping tests
by lima1 (Curate) on Sep 18, 2007 at 09:59 UTC | |
Re: Grouping tests
by djp (Hermit) on Sep 19, 2007 at 03:57 UTC | |
by forkboy (Sexton) on Sep 19, 2007 at 07:02 UTC |
Back to
Seekers of Perl Wisdom