On Wed, Jun 28, 2006 at 11:13:02PM -0500, Andy Lester wrote:
> Tomorrow, Adam Kennedy and I (and Schwern?) will be banging on  
> Test::Harness.
> 
> Any bugs that we especially need to work on?

They're not so much bugs as structural annoyances that it would be useful
to relax to make subclassing Test::Harness more useful.
(Well, most accurately, to allow me to write a parallel test runner easily)

I hacked Test::Harness and Test::Harness::Straps around to get parallel tests
running (version 1), but I made no effort to keep the conventional behaviour
working cleanly, hence I'm not sure if sending you that code would be useful.
However, based on that, things that it would be nice to refactor out
(from memory):

The code to do the printing of the test names, the ...s and the numbers could
be refactored out into a proper helper class, to allow derivatives more
flexibility in what the chose to display. This class would suck in the
subroutines associated with &strap_callback as methods. In turn, it would
stop the evil storing of callback state in the main T::H object. In turn,
the globals $ML $Last_ML_Print can be eliminated and stored as state in this.

Nicholas Clark

Reply via email to