Closed schwernbot closed 10 years ago
From: @schwern Date: Friday Nov 11, 2011 at 02:48 GMT Orig: https://github.com/Test-More/test-more/issues/184#issuecomment-2704305
This went through some pain to retain the ability to specify both a plan and use done_testing. I'm tempted to drop that, at least the redundant plan tests => 5
and done_testing(5)
.
From: @schwern Date: Monday Nov 07, 2011 at 22:30 GMT Orig: https://github.com/Test-More/test-more/issues/184
Test::Builder has its own checks for a double plan, both in done_testing and elsewhere. It cannot do this alone, other builders might issue plans without its knowledge. This includes subtests.
This will probably require adding more information to the SetPlan event, like "who did it" in order to identify what method the user called to set the plan (if it was
done_testing
) or whatever.