Michael Peters <mpet...@plusthree.com> writes:
> Andy Armstrong wrote:
>
>> How about being able to nominate a directory to receive the TAP?
>
> That sounds reasonable. But should anything be done for a plain file?

For a single non-archive file I like your first thought:

> I'm not entirely sure what a DWIM would be in the case of a
> non-archive file. Just concat the TAP streams together and drop the
> YAML?

That could work. The TAP streams could start with the same
"t/xyz.t ..." line as prove already does. Or some other more
unambiguously detectable delimiter line.

I also think about whether a file named "-" could be recognized as
print to STDOUT. I would like that but it would again be intermixed
with prove's output.

Probably it would already work good enough with the combination of
prove's -q/-Q option:

 $ prove -Qml --archive - t/*.t  | other_tap_processing_app


That still raises the need that the remaining TAP output is guaranteed
to be non-TAP, which brings us back to the start of the discussion.

Kind regards,
Steffen 
-- 
Steffen Schwigon <s...@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org>
German Perl-Workshop <http://www.perl-workshop.de>

Reply via email to