471,830 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,830 software developers and data experts.

how to output test::more to a file?


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.

Nov 23 '07 #1
2 1909
Figured this out thanks...

Test::More->builder->output ("$RESULTS_PATH")
Nov 23 '07 #2
In article <md********************************@4ax.com>,
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.

Jim Gibson

Posted Via Usenet.com Premium Usenet Newsgroup Services
Nov 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bret Pehrson | last post: by
reply views Thread by Savage | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.