ok, thanks for trying that, I will look into it when I have time and if
nothing else at least explain why it behaves like it does. If it is a bug I
will fix it.

On Tue, Dec 13, 2016 at 8:18 AM, Ricardo Signes <perl...@rjbs.manxome.org>
wrote:

> * Chad Granum <exodi...@gmail.com> [2016-12-13T11:13:56]
> > I would like to see the results when you use
> > Test2::Tools::Subtest::subtest_streamed() which is the actual
> equivalent to
> > Test::More::subtest().
>
> Thanks for the pointer.  I have tried this and got identical ("bad")
> results to
> Test2::API::run_subtest:
>
>   ~$ perl foo t2ss
>   # Subtest: test
>   not ok 1 - Subtest: test
>   # Failed test 'Subtest: test'
>   # at foo line 24.
>   # Caught exception in subtest: 123 at foo line 13.
>   1..1
>       not ok 1 - subprocess died
>       #   Failed test 'subprocess died'
>       #   at foo line 11.
>       #          got: 0
>       #     expected: anything else
>       1..1
>   not ok 1 - Subtest: test
>   # Failed test 'Subtest: test'
>   # at foo line 24.
>   1..1
>   # Looks like you failed 1 test of 1.
>
> Compare to:
>
>   ~$ perl foo t2rs
>   # test
>   not ok 1 - test
>   # Failed test 'test'
>   # at foo line 24.
>   # Caught exception in subtest: 123 at foo line 13.
>   1..1
>       not ok 1 - subprocess died
>       #   Failed test 'subprocess died'
>       #   at foo line 11.
>       #          got: 0
>       #     expected: anything else
>       1..1
>   not ok 1 - test
>   # Failed test 'test'
>   # at foo line 24.
>   1..1
>   # Looks like you failed 1 test of 1.
>
> The entire difference appears to be "Subtest: test" vs. "test"
>
> --
> rjbs
>

Reply via email to