-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Could Test2::Plugin::ExitSummary also output the failure summary from Test::More?
For example, this code:
use 5.14.0;
use warnings;
use Test::More;
ok(1, "Passing test");
ok(0, "Failing test");
done_testing();
Produces this output:
ok 1 - Passing test
not ok 2 - Failing test
# Failed test 'Failing test'
# at .\testMore.pl line 5.
1..2
# Looks like you failed 1 test of 2.
But this code:
use 5.14.0;
use warnings;
use Test2::Bundle::More;
use Test2::Plugin::ExitSummary;
ok(1, "Passing test");
ok(0, "Failing test");
done_testing();
Does not include the "Looks like you failed..." diagnostic.
ok 1 - Passing test
not ok 2 - Failing test
# Failed test 'Failing test'
# at .\test2PluginExitSummary.pl line 6.
1..2
The Test2 modules I'm using in Strawberry Perl v5.32.1 look like this:
cpan> i Test2::Plugin::ExitSummary
Database was generated on Tue, 03 Feb 2026 21:00:40 GMT
Module id = Test2::Plugin::ExitSummary
CPAN_USERID EXODIST (Chad Granum <exodist7@gmail.com>)
CPAN_VERSION 1.302219
CPAN_FILE E/EX/EXODIST/Test-Simple-1.302219.tar.gz
UPLOAD_DATE 2025-12-09
MANPAGE Test2::Plugin::ExitSummary - Add extra diagnostics on failure at the end of the test.
INST_FILE C:\Strawberry\perl\site\lib\Test2\Plugin\ExitSummary.pm
INST_VERSION 1.302219
(I'm sticking with an older Strawberry for its working MySQL support.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels