how to output test::more to a file?

E

everymn

Hi,

Could someone tell me how this could be accomplished? I've tried

open STDOUT "$testfile";

before calling is() or the other test functions but the output still
goes to the console. Simple redirection after the test function
statement doesn't seem to work either.

Thanks
Eric
 
J

Jim Gibson

Figured this out thanks...

Test::More->builder->output ("$RESULTS_PATH")

Glad that you were able to answer your own question. You should be
aware that the newsgroup comp.lang.perl is defunct. Try
comp.lang.perl.misc in the future for better results.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top