Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9418/lib/Module/Build
Modified Files:
Cookbook.pm
Log Message:
Integrate from branch
Index: Cookbook.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Cookbook.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Cookbook.pm 12 Nov 2004 02:27:00 -0000 1.12
+++ Cookbook.pm 21 Mar 2005 17:36:26 -0000 1.13
@@ -107,6 +107,24 @@
Build install destdir=/tmp/my-package-1.003
+=head2 Running a single test file
+
+C<Module::Builde> supports running a single test, which enables you to
+track down errors more quickly. Use the following format:
+
+ ./Build test --test_files t/mytest.t
+
+In addition, you may want to run the test in verbose mode to get more
+informative output:
+
+ ./Build test --test_files t/mytest.t --verbose 1
+
+I run this so frequently that I actually define the following shell alias:
+
+ alias t './Build test --verbose 1 --test_files'
+
+So then I can just execute C<t t/mytest.t> to run a single test.
+
=head1 ADVANCED RECIPES
|