perl TAP testing: how to get count of failed tests from TAP::Formatter::HTML output?
问题 I run some TAP Tests using TAP::Formatter::HTML. This CPAN module generates beautiful dynamic HTML Reports, but I want to use the number of passed tests, failed tests etc - to insert them into a database after all tests completed. The code below does not work. It prints nothing to the console. I admit, for lines 10 and after, I just have slapped together some code from the POD descriptions of the TAP::* classes. Before I dive into the source code of Aggregator, Harmess or Formatter classes