On Mon, Feb 21, 2005 at 02:42:49PM -0000, Clayton, Nik ([EMAIL PROTECTED])
wrote:
> 1. qq{will generate
>
> FAILED tests 1, 3, 6
> Failed 3/6 tests, 50.00% okay}
>
> That's T::H output.
Ok, modified so that it notes that it's T::H output.
> 2. qq{Currently Test::Harness does nothing with the description but
> we plan to use it in summary.}
>
> T::H specific, not relevant to TAP.
Fixed.
> 3. qq{Anything else
>
> Test::Harness will silently ignore any other output it sees but this behavior
Updated to say:
=head2 Anything else
Any output line that is not a plan, a test line or a diagnostic is
incorrect. How a harness handles the incorrect line is undefined.
Test::Harness silently ignores incorrect lines, but will become more
stringent in the future.
> In fact, I'd say this is a bug in T::H, and the specification should be
> written so that any non-conforming output from a test that's supposed to
> be TAP compatible indicates a bug in the test program, and should be
> treated as though the test program (and all the tests it contains) have
> failed.
I agree that T::H should be more stringent, but as written right now, we
can't demand something that we don't conform to.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance