schwern/test-more — Issue #189: Put Test::Builder->_ending logic into a watcher
Author: schwern
Created: 2011-11-09 20:23:03+00:00
State: open
Labels: DO IT, Events, Test-Builder2

The work Test::Builder->_ending does on determining if a test passed or failed and issuing reasons why must go into an EventWatcher. This allows it to fire on subtest end as well as have only one point take care of it instead of each builder doing their own logic.

1. Move the logic into History.
2. Move the diagnostic information into a Watcher which issues diagnostic events.
3. Make a 3rd handler to deal with the exit code.