Skip Menu |

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

Report information
The Basics
Id: 63574
Status: resolved
Priority: 0/
Queue: Test-Aggregate

People
Owner: Nobody in particular
Requestors: rafl [...] debian.org
Cc:
AdminCc:

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



Subject: Doesn't skip tests during runtime
Date: Fri, 03 Dec 2010 18:50:31 +0100
To: bug-Test-Aggregate [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
Given a test like use Test::More; plan skip_all => 'Reason' if $ENV{SKIP_ME}; pass; done_testing; The test will be skipped without reaching the pass when run normally. However, when running under Test::Aggregate, the pass will be reached, even if SKIP_ME is set, because only skip_alls provided at compile time are checked before running the test at all. Once the test started running, plan skip_all won't have any effect unless Test::Aggregate provides a modified sub plan that aborts the already running test as one would expect.
Download (untitled)
application/pgp-signature 197b

Message body not shown because it is not plain text.