Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 87615
Status: resolved
Priority: 0/
Queue: Test-Routine

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: Unit tests fail with Test-Simple-0.98_05
Test-Simple-0.98_05 started to add subtests names into the output: http://cpansearch.perl.org/src/MSCHWERN/Test-Simple-0.98_05/Changes Adding just a condition into test test to accept newer output if recent Test-Simple is available should fix it.
Subject: Tests fail with Test-Simple-0.98_05 due to subtest names
Tests fail with Test-Simple-0.98_05: # Failed test at t/mxms.t line 32. # STDOUT is: # # Subtest: tests work # # Subtest: foo bar # ok 1 - The object does Test::Foo # 1..1 # ok 1 - foo bar # 1..1 # ok 1 - tests work # # not: # ok 1 - The object does Test::Foo # 1..1 # ok 1 - foo bar # 1..1 This is caused by change in Test::More output <http://cpansearch.perl.org/src/MSCHWERN/Test-Simple-0.98_05/Changes>: New Features * A subtest will put its name at the front of its results to make subtests easier to read. [github #290] [github #364] (Brendan Byrd)
From: ppisar [...] redhat.com
Dne Po 05.srp.2013 06:05:03, ppisar napsal(a): Show quoted text
> Tests fail with Test-Simple-0.98_05: >
[...] Show quoted text
> This is caused by change in Test::More output > <http://cpansearch.perl.org/src/MSCHWERN/Test-Simple-0.98_05/Changes>: >
The fix is attached. -- Petr
Subject: Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch
From ebb614f44658cd8f63cb2f355e1e02ccd739b010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Mon, 5 Aug 2013 12:13:47 +0200 Subject: [PATCH] Test-Simple-0.98_05 outputs subtest names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit <https://rt.cpan.org/Public/Bug/Display.html?id=87615> <https://rt.cpan.org/Public/Bug/Display.html?id=87616> Signed-off-by: Petr Písař <ppisar@redhat.com> --- t/mxms.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/mxms.t b/t/mxms.t index ecb8008..28a82f1 100644 --- a/t/mxms.t +++ b/t/mxms.t @@ -23,6 +23,9 @@ BEGIN { }; }, undef, "can create tests with methods"); + ::test_out(" # Subtest: tests work"), + ::test_out(" # Subtest: foo bar") + if ($Test::More::VERSION >= 0.9805); ::test_out(" ok 1 - The object does Test::Foo"); ::test_out(" 1..1"); ::test_out(" ok 1 - foo bar"); @@ -44,6 +47,9 @@ BEGIN { }; }, undef, "can create tests with methods"); + ::test_out(" # Subtest: tests work"), + ::test_out(" # Subtest: foobar") + if ($Test::More::VERSION >= 0.9805); ::test_out(" ok 1 - The object does Test::Bar"); ::test_out(" 1..1"); ::test_out(" ok 1 - foobar"); -- 1.8.1.4
Thanks, this is fixed in tonight's release. -- rjbs