Connecting Tech Pros Worldwide Help | Site Map

how to output test::more to a file?

  #1  
Old November 23rd, 2007, 06:35 AM
everymn@yahoo.com
Guest
 
Posts: n/a
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

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

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
DB2 statements in a batch file + redirect output to file Nananana answers 7 January 24th, 2007 06:35 PM
dirty submission of INI file access... lactaseman@gmail.com answers 1 June 11th, 2006 08:15 AM
Using BinaryWrite to output PDF to IE Alec MacLean answers 6 March 31st, 2006 02:15 PM
Save exact contents of web form (including special characters) to file? david.lindsay.green@gmail.com answers 8 March 8th, 2006 04:35 AM