[tap-l] Inter-stream punctuation
Adrian Howard
adrianh at quietstars.com
Tue Mar 20 13:50:13 GMT 2007
On 20 Mar 2007, at 13:28, Andy Armstrong wrote:
> On 20 Mar 2007, at 13:22, Adrian Howard wrote:
>>> It doesn't then matter how many test scripts that output comes from.
>> [snip]
>>
>> But doesn't that force us to do all the foo tests, then all the bar
>> tests. I'd like to feed them both to a TAP consumer at the same time.
>
> When you say at the same time you mean actual concurrency, right?
Depending what you mean by "actual concurrency" yes :-)
What I was doing was getting multiple TAP streams back from different
machines by basically forking of a bunch of 'ssh testN.com t/foo.t'
and slurping up the results.
What I ended up doing was merging in each stream as a unit, so I
output something like what you proposed
ok 1 test1.com a
ok 2 test1.com b
ok 3 test1.com c
ok 4 test1.com d
not ok 5 test2.com a
ok 6 test2.com b
ok 7 test2.com c
ok 8 test2.com d
... etc...
which was "good enough". However it wasn't ideal since, with long
running test scripts, I didn't get to see early failures when they
happened - only on script completion.
If I could have been arsed what would have been better would have
been something like
ok 1 test1.com a
not ok 2 test2.com a
ok 3 test1.com b
ok 4 test2.com b
ok 5 test1.com c
ok 6 test2.com c
ok 7 test1.com d
ok 8 test2.com d
outputting the test results as I got them so I got the feedback more
quickly.
Cheers,
More information about the tap-l
mailing list