Re: Test script with hierarchy

2007-02-17 Thread Nadim Khemir
On Saturday 03 February 2007 09:04, chromatic wrote: > > Can I use TAP for this? Can TAP be used to represent such hierarchy? > Filesystem directories already represent a hierarchy. Using the tagging scheme is bound to fail if you modify you test hierarchy (well, you can always modify your tags

Re: Test script with hierarchy

2007-02-03 Thread Adrian Howard
On 3 Feb 2007, at 08:01, Joe McMahon wrote: On Feb 2, 2007, at 2:03 AM, Ovid wrote: [snip] ok 1 - [gui][database] fribble cleared ok 2 - [database] - bar set ok 3 - [gui] - widget bobbling ok 4 - [gui][critical] - finkle barbed correctly And that's Test::Description::Tagged which I rea

Re: Test script with hierarchy

2007-02-03 Thread chromatic
On Thursday 01 February 2007 23:23, Gabor Szabo wrote: > Can I use TAP for this? Can TAP be used to represent such hierarchy? Filesystem directories already represent a hierarchy. I leave the implementation as a (trivial) exercise for the reader. -- c

Re: Test script with hierarchy

2007-02-03 Thread Joe McMahon
On Feb 2, 2007, at 2:03 AM, Ovid wrote: I don't recall seeing it on the CPAN, but as I recall, he was doing stuff like this: ok 1 - [gui][database] fribble cleared ok 2 - [database] - bar set ok 3 - [gui] - widget bobbling ok 4 - [gui][critical] - finkle barbed correctly And that's

Re: Test script with hierarchy

2007-02-03 Thread Joe McMahon
On Feb 2, 2007, at 1:47 AM, Adrian Howard wrote: 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... That's Tester, which uses imaginary test numbers to denote included tests. ok 1 ok 2 o

Re: Test script with hierarchy

2007-02-02 Thread Michael Peters
Gabor Szabo wrote: > 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? This is something I would like Smolder (http://smolder.sf.net) to be able to handle too. TAP doesn't really support hie

Re: Test script with hierarchy

2007-02-02 Thread Ovid
--- Adrian Howard <[EMAIL PROTECTED]> wrote: > 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

Re: Test script with hierarchy

2007-02-02 Thread Adrian Howard
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

Test script with hierarchy

2007-02-01 Thread Gabor Szabo
hi, In a project I am working on there is a separate automation team. This team gets test descriptions from the manual QA people including steps how to implement each step: Test A Step 1 - Setup a smadge and set it to operation Blue Step 2 - Setup another smadge and set it to operation Black