schwern/test-more — Issue #184: Put double plan checks into an event watcher
Author: schwern
Created: 2011-11-07 22:30:22+00:00
State: open
Labels: DO IT, Events, Test-Builder2

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.

Write an event watcher whose job is it to ensure there is only one plan. Test::Builder will add it to the TestState by default.