parallel testing when STDOUT is not a terminal
Andy Armstrong
andy at hexten.net
Tue Dec 4 08:27:08 EST 2007
On 4 Dec 2007, at 13:17, David Golden wrote:
> I've discovered that having HARNESS_OPTIONS=j9 is not a nice thing to
> set as a default. Test output for CPAN::Reporter winds up really
> screwed up, as shown below. Is there a non-ornamented way of running
> tests in parallel? I.e. running them in parallel and getting just
> summary output rather than watching the little bars grow across the
> screen? Or perhaps this is something like colors where it needs to
> happen automatically if STDOUT is not a terminal.
Yes, the formatting is naive at the moment. Experimental even.
A good parallel prove spell goes something like this:
$ prove --state=slow,save -rb -Q -j9 t
The --state thing makes it run the slowest tests first - which helps
with scheduling for a parallel run. -Q turns off the nasty output.
--
Andy Armstrong, Hexten
More information about the tapx-dev
mailing list