Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 11861
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: william [...] knowmad.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.2608
Fixed in: (no value)

Attachments


Subject: Cookbook patch - testing single files
Download (untitled) / with headers
text/plain 220b
Hi Ken, It took me a few minutes to figure out how to run a single test from my library this evening. To save me the extra legwork in the future, I've added an item to the Cookbook. A patch is attached. Thanks, William
Download Cookbook.pm.diff
text/x-diff 561b
--- /tmp/Cookbook.pm.orig 2005-03-13 22:31:01.000000000 -0500 +++ /tmp/Cookbook.pm 2005-03-13 22:33:28.000000000 -0500 @@ -107,6 +107,16 @@ 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. Use the following format: + + ./Build test test_files=t/001_load.t + +In addition, you may want to run the test in verbose mode to get more informative output: + + ./Build test test_files=t/001_load.t verbose=1 + =head1 ADVANCED RECIPES
Thanks, I've applied this in a slightly modified form. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.