On 2 Feb 2007, at 07:23, Gabor Szabo wrote:
[snip]
Can I use TAP for this? Can TAP be used to represent such hierarchy?
Is there a module already doing something like this even without
the HTML
report?
[snip]
Currently there isn't any in built support for hierarchical test
reporting in TAP. The topic's come up before, and a look at the list
archives will probably be useful.
You can, of course, use some kind of structured text in the test
description so you have output that looks something like:
ok 1 - Test A/1/1 - fribble cleared
ok 2 - Test A/1/2 - bar set
ok 3 - Test A/1/3 - widget bobbling
ok 4 - Test A/2/1 - finkle barbed correctly
and then parse it out with TAPx::Parser and friends. I believe a guy
from Yahoo did something similar - can't remember if the code ever
escaped though...
Cheers,
Adrian