Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 84737
Status: open
Priority: 0/
Queue: Test-Requires

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Check $ENV{RELEASE_TESTING}; if true make missing modules a failure
If I have a module with an optional dependency on, say, Moose, then I want the following: use Test::Requires "Moose"; to skip tests when run on the end user's computer. But when I run it on my *own* computer, while preparing a release, I don't want it to skip the test - I want it to die loudly. Does this sound reasonable to you? If so, am happy to submit a patch.
Subject: Re: [rt.cpan.org #84737] Check $ENV{RELEASE_TESTING}; if true make missing modules a failure
Date: Sun, 21 Apr 2013 00:13:49 +0900
To: bug-Test-Requires [...] rt.cpan.org
From: Tokuhiro Matsuno <tokuhirom [...] gmail.com>
Sounds good idea. Please sende a patch. 2013/04/19 21:34 "Toby Inkster via RT" <bug-Test-Requires@rt.cpan.org>: Show quoted text
> Fri Apr 19 08:34:54 2013: Request 84737 was acted upon. > Transaction: Ticket created by TOBYINK > Queue: Test-Requires > Subject: Check $ENV{RELEASE_TESTING}; if true make missing modules a > failure > Broken in: 0.06 > Severity: Wishlist > Owner: Nobody > Requestors: mail@tobyinkster.co.uk > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84737 > > > > If I have a module with an optional dependency on, say, Moose, then I want > the following: > > use Test::Requires "Moose"; > > to skip tests when run on the end user's computer. > > But when I run it on my *own* computer, while preparing a release, I don't > want it to skip the test - I want it to die loudly. > > Does this sound reasonable to you? If so, am happy to submit a patch. >