Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: daviddlowe.flimm [...] gmail.com
Cc:
AdminCc:

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



Subject: The subtest workaround is ugly for Test::Aggregate::Nested
Download (untitled) / with headers
text/plain 519b
In the POD of Test::Aggregate::Nested, this workaround is described if you need to run tests before or after the aggregate tests: use Test::More tests => 2; use Test::Aggregate::Nested; subtest 'Nested tests' => sub { Test::Aggregate::Nested->new({ dirs => 'aggtests/' })->run; }; ok $some_other_test; This test generates really ugly output, especially if you're using something like Tap::Formatter::HTML. I've created a pull request with the desired changes. https://github.com/rwstauner/test-aggregate/pull/3
Download (untitled) / with headers
text/plain 612b
On Mon Nov 10 09:44:59 2014, Flimm wrote: Show quoted text
> In the POD of Test::Aggregate::Nested, this workaround is described if > you need to run tests before or after the aggregate tests: > > use Test::More tests => 2; > use Test::Aggregate::Nested; > > subtest 'Nested tests' => sub { > Test::Aggregate::Nested->new({ dirs => 'aggtests/' })->run; > }; > ok $some_other_test; > > This test generates really ugly output, especially if you're using > something like Tap::Formatter::HTML. > > I've created a pull request with the desired changes. > https://github.com/rwstauner/test-aggregate/pull/3
Released. Thanks!


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.