-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working on something based on TAP, and I've come up
with some questions that Test::Harness::TAP doesn't
seem to address..

1. If a testee stops numbering its results, the harness
   is supposed to maintain its own counter until the
   testee resumes numbering.  What if the resumed numbers
   don't match up?

      ok 1
      ok 2
      ok
      ok 25

2. What if the testee provides test numbers that at clearly
   bogus, such as outside the plan scope?

      1..2
      ok 25
      ok 26

3. Are test numbers required to be encountered in monotonically
   increasing sequence?  What if the testee provides test numbers
   in a bogus sequence?

      1..3
      ok 1
      ok 3
      ok 2

4. What should the harness do if it gets a skip-all plan
   but also gets results?

      1..0 # Skipped out of perversity
      ok 1
      not ok 2

   The docco says 'There must be at least one test line
   in TAP output.'  Is a skip-all situation the exception?

5. How should the harness handle a testee that doesn't provide a
   plan at all?  Assume an at-end plan of 1..n ?

Thanks!
- --
#ken    P-)}

Ken Coar, Sanagendamgagwedweinini  http://Ken.Coar.Org/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQ2v09prNPMCpn3XdAQIokAP/RzD79fEohE0EJOSGEqDrcBeX2zrrWxIR
iiNuEC8S2dqRxlVDDuhDD8biLwvFNoCSKqqaIe8HkhQrhQfYWAwku8w4/ncOpNhG
GqldYUdVS7L6/F2jn5IeeOnTnucPxPIgR2y+c10qNCkmUG9W3FJKQcMwhAde9nP/
MfdssWCQbTk=
=x22S
-----END PGP SIGNATURE-----

Reply via email to