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
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
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!