Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 54804
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: CRAKRJACK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 3.21
Fixed in: (no value)



Subject: New flag: -I
Download (untitled) / with headers
text/plain 480b
Hi, I see we have "-l" and "-b" options available to Test::Harness. Could we get a generic "-I" option added as well? My first use case is automated builds; when I'm running the unit tests manually, I want to use mocked objects for some stuff (database etc), but when I'm running the tests as part of my automated build, this is done in a chroot environment with my full application stack installed, and it would be nice to test that things "really" work. Cheers, Tyler
Subject: Re: [rt.cpan.org #54804] New flag: -I
Date: Fri, 19 Feb 2010 17:50:32 -0800
To: bug-Test-Harness [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Download (untitled) / with headers
text/plain 753b
CRAKRJACK via RT wrote: Show quoted text
> I see we have "-l" and "-b" options available to Test::Harness. Could > we get a generic "-I" option added as well? My first use case is > automated builds; when I'm running the unit tests manually, I want to > use mocked objects for some stuff (database etc), but when I'm running > the tests as part of my automated build, this is done in a chroot > environment with my full application stack installed, and it would be > nice to test that things "really" work.
prove has a -I. "prove -Ilib" is equivalent to prove -l. Did you mean something else? -- You know what the chain of command is? It's the chain I go get and beat you with 'til you understand who's in ruttin' command here. -- Jayne Cobb, "Firefly"
Download (untitled) / with headers
text/plain 207b
No, I'm just blind. Would you believe I skimmed over the options in --help 2 or 3 times before I filed the ticket? Sorry about that, I should have searched the manpage for the option... busy day. - Tyler


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.