Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2007, 06:35 AM
everymn@yahoo.com
Guest
 
Posts: n/a
Default 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
  #2  
Old November 23rd, 2007, 10:05 AM
everymn@yahoo.com
Guest
 
Posts: n/a
Default Re: how to output test::more to a file?

Figured this out thanks...

Test::More->builder->output ("$RESULTS_PATH")
  #3  
Old November 23rd, 2007, 06:45 PM
Jim Gibson
Guest
 
Posts: n/a
Default Re: how to output test::more to a file?

In article <md9dk3l3ptg7mdfjahcc812j3po7sgol94@4ax.com>,
<everymn@yahoo.comwrote:
Quote:
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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles