Stupid prove tricks

2009-02-25 Thread Michael G Schwern
Just some prove tricks I thought I'd pass along. Parse TAP from a file, rather than program output. Handy for doing experiments without having to mock up a program. $ cat ~/tmp/foo.tap 1..2 ok 1 ok 2 $ prove --exec 'cat' ~/tmp/foo.tap /Users/schwern/tmp/foook

Re: Stupid prove tricks

2009-02-25 Thread Yitzchak Scott-Thoennes
On Wed, February 25, 2009 6:06 pm, Michael G Schwern wrote: $ prove --exec 'cat -' test.dummy test Now you can write TAP and finish with ctrl-d. But test.dummy has to exist. /dev/null works for me. Perhaps you could post your tricks: http://perlmonks.org/?node=Meditations#post