Gabor Szabo wrote:
(system "code >out 2>err")... So far I have encountered only one problem with this, when I run ./Build testcover I don't get the coverage report from these example scripts. So what do you think about using examples as tests? How could I convince Devel::Cover to collect coverage information from these tests as well?
They probably need to be run in the same process. What about using Test::Output or IO::Capture to capture the output (and keep it from Test::Harness) and just running the code with "do code.pl"?
Regards, David Golden