Closed schwernbot closed 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.
Test::Builder2::History->stream_depth()
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.
in_test
test_start
test_end
The following are errors, enforce them in History...
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.
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 atest_start
event has been seen but atest_end
has not.The following are errors, enforce them in History...
test_start
whilein_test
.test_end
while notin_test
.