Test-More / TB2

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

Enhance history to watch and provide information about events #129

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Sunday Jan 09, 2011 at 11:04 GMT Orig: https://github.com/Test-More/test-more/issues/105

Right now, TB is using the formatter to ask about test events. This is really the job of history. History is gathering events but not providing any convenient information about them.

A glaring problem is TB1->last_test_seen necessary because the formatter will reset its counter at the end of a stream leaving the builder to do its own tracking. The history object should track that.

schwernbot commented 10 years ago

From: @schwern Date: Wednesday Jan 26, 2011 at 23:54 GMT Orig: https://github.com/Test-More/test-more/issues/105#issuecomment-711544

This is taken care of by plan(), stream_depth() and results_count().