On Fri, Aug 22, 2008 at 09:18:36AM -0700, Ovid wrote: > Does anyone use App::Prove::State, a module which ships with the new > Test::Harness? Outside of the Test::Harness distribution, the only code which > I know of which uses it is a quick "which tests are slow?" hack I put > together. > > I ask this because I'm making some internal changes to this module. I am > giving it a proper API to let people extend it in the future. I need to add > new features for it, but said features can't live in the core (due to > non-core dependencies) and as a result, I need to nail down the interface, > but if anyone else is using it, I'd like to not cause them too much pain.
I had a play with using it in (of all places) the core, to sort a subset of the tests to run in slowness order, in t/harness You can see the (annotated) code here: http://public.activestate.com/cgi-bin/perlbrowse?filename=t%2Fharness&show_blame=Show+Annotated+File If you want to break it, it doesn't matter. I'll take it out again. Nicholas Clark