Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using externally generated TAP to drive a test

by jasonk (Parson)
on Sep 05, 2008 at 21:09 UTC ( #709389=note: print w/ replies, xml ) Need Help??


in reply to Using externally generated TAP to drive a test

Maybe I'm missing something, but if you are just trying to write a perl test script to produce TAP output from your binary which already produces TAP output, why not just...

#!/usr/bin/perl -w qx|./compiled_test_app|;

and then deal with it the same way you deal with your other test scripts, using prove or something like it, instead of trying to interpret the TAP just to produce more TAP output...


www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!


Comment on Re: Using externally generated TAP to drive a test
Download Code
Re^2: Using externally generated TAP to drive a test
by creamygoodness (Curate) on Sep 05, 2008 at 23:12 UTC

    Heh. It really is that simple! Somehow I'd figured there had to be more to it than just printing test output.

    Thanks!

    --
    Marvin Humphrey
    Rectangular Research ― http://www.rectangular.com

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://709389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-12-22 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls