Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Replace History->stream_depth() with History->in_test() #178

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Monday Nov 14, 2011 at 02:17 GMT Orig: https://github.com/Test-More/test-more/issues/197

Test::Builder2::History->stream_depth() is a vestige of an earlier half baked subtest design and is no longer needed.

Remove it, and the helper methods.

Replace it with the History attribute in_test. in_test is true if a test_start event has been seen but a test_end has not.

The following are errors, enforce them in History...

schwernbot commented 10 years ago

From: @schwern Date: Tuesday Nov 15, 2011 at 04:29 GMT Orig: https://github.com/Test-More/test-more/issues/197#issuecomment-2740860

That's that.