in reply to Capturing stderr from a test script executed by Test::Harness::Straps
Use Test::Harness::Straps's analyze_fh() method and something like CPAN:://IPC::Open3 to open a filehandle to your process.
A recent release of Test::Harness will capture the diagnostic output from Test::Builder-based tests appropriately.
|
|---|