You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use strict;
use warnings;
use Test2::Bundle::Extended;
use Test2::Tools::Subtest;
subtest_buffered(
'parent',
sub {
subtest_buffered(
'buffered',
sub {
ok(1, 'b1');
ok(1, 'b2');
},
);
subtest_streamed(
'streamed',
sub {
ok(1, 's1');
ok(1, 's2');
},
);
}
);
done_testing;
Outputs:
# Seeded srand with seed '20160917' from local date.
ok 1 - parent {
ok 1 - buffered {
ok 1 - b1
ok 2 - b2
1..2
}
# streamed
ok 2 - streamed
1..2
}
1..1
The text was updated successfully, but these errors were encountered:
- Doc fixes
- Win32 color support in Test::Builder::Tester
- Support v-strings in is_deeply
- A streamed subtest run inside a buffered subtest will be automatically
converted to a buffered subtest. Otherwise the output from inside the
subtest is lost entirely. (#721)
Outputs:
The text was updated successfully, but these errors were encountered: