NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
make test (Score:1)
I don't have that for my applications. A typical directory structure looks like this:
The .t files contain a 'use lib "lib", "../lib";' to point to the module directory.
Like chromatic I usually just type perl t/FILENAME to run a certain test file, but I
Re:make test (Score:2)
ExtUtils::MakeMaker will find all your
Use prove (Score:2)
--
xoa
Re:Use prove (Score:2)
Re:Use prove (Score:1)
Re:Use prove (Score:2)
Re:Use prove (Score:2)
And, if it doesn't do what you want, ask. :-)
--
xoa
Re:Use prove (Score:2)
What if my files aren't just in lib/, but are in completely separately named directories, each with their own Makefile.PL - MakeMaker picks this up and gets everything into blib, but prove won't see them.
See XML::Parser for an example of this.
Re:Use prove (Score:2)
The #1 reason to have prove is so that you don't have to have a Makefile or run make test at all. So in this case, it would defeat the purpose of running prove.
Is there anything we can/should add to Test::Harness to make it more useful to you?
--
xoa
Re:Use prove (Score:1)
A way to print only summaries and failures with diagnostics would be nice.
Re:Use prove (Score:1)