469,307 Members | 1,999 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

how to output test::more to a file?

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
Nov 23 '07 #1
2 1892
Figured this out thanks...

Test::More->builder->output ("$RESULTS_PATH")
Nov 23 '07 #2
In article <md********************************@4ax.com>,
<ev*****@yahoo.comwrote:
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
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
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
Savage
reply views Thread by Savage | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.