in reply to Redirect output of Test::More/Simple
Add:
Test::More->builder->output ('result.txt');
to have Test::More put it's output in a file called 'result.txt' and:
Test::More->builder->failure_output ('errors.txt');
to redirect error output to 'errors.txt'. See the Test::More section 'Extending and Embedding Test::More' and Test::Builder for more information.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Redirect output of Test::More/Simple
by spurperl (Priest) on Aug 28, 2006 at 14:59 UTC |