Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > how to output test::more to a file?

Reply
Thread Tools

how to output test::more to a file?

 
 
everymn@yahoo.com
Guest
Posts: n/a
 
      11-23-2007
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
 
Reply With Quote
 
 
 
 
everymn@yahoo.com
Guest
Posts: n/a
 
      11-23-2007
Figured this out thanks...

Test::More->builder->output ("$RESULTS_PATH")
 
Reply With Quote
 
 
 
 
Jim Gibson
Guest
Posts: n/a
 
      11-23-2007
In article <(E-Mail Removed)>,
<(E-Mail Removed)> wrote:

> 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
 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
parse output screen ok but cant get desired output new file! chuck amadi Python 1 06-23-2004 02:16 PM
Sony Precision Cinema Progressive Output vs Component 480p Output Otto Pylot DVD Video 1 04-18-2004 09:49 PM
Is Fuji S3000 3.2m/pixel output, or 6 m/pixel interpolated output? Peter H Digital Photography 43 12-04-2003 02:35 PM
Output / Debug window output bug? John Bentley ASP .Net 0 09-10-2003 07:38 AM



Advertisments