Mark Stosberg wrote: > On Tue, Dec 13, 2005 at 02:01:18PM -0500, Michael Peters wrote: > >>>>>It uses (among other things) Test::TAP::Model and >>>>>Test::TAP::HTMLMatrix, and uses YAML as an intermediate test-run format. >>>> >>>>Actually, Test::TAP::HTMLMatrix is what I currently use for test reports >>>>that >>>>get emailed to developers. I definitely plan to continue using it. >>> >>> >>>Would you share an example of how this is used in a test suite? >>> >>>It's not clear to me from the docs how to integrate what it does into >>>a smoke bot. >> >>I did a short write up of this in my use.perl journal: >> >>http://use.perl.org/~mpeters/journal/25612 > > > Thanks for sharing that Michael > > I feel like I'm being dense, but where does @testfiles come from?
Where ever you want it to come from :). In my test script I allow the user to specify them on the command line ./project_test --test_file t/foo.t --test_file t/bar.t Or if they don't then it grabs everything in t/ that ends in .t (recursively searching using File::Find). It would be nice to be able to have prove specify a different model for a Test::Harness::Straps run, but I'm not sure how much of a need there is for that since there's only a handful of Test::TAP::Model classes out there. But since you can't, you basically have to rewrite prove (or 'make test' or whatever) so that the output is collected into Test::TAP::HTMLMatrix. -- Michael Peters Developer Plus Three, LP