Discussion:
Parallel testing comes to Test::Class::Moose
Ovid
2013-12-31 11:16:05 UTC
Permalink
In case you haven't seen it, I now have an experimental branch of Test::Class::Moose that provides built-in parallel testing.

http://blogs.perl.org/users/ovid/2013/12/merry-christmas-parallel-testing-with-testclassmoose-has-arrived.html

http://blogs.perl.org/users/ovid/2013/12/eating-my-own-dogfood-parallel-tests.html

 
In short, just drop in the parallel testing role and have fun. The second link above shows a trivial schedule that allows you to mark methods as "noparallel" and have them run after the parallel tests. I'm thinking about making that the default behavior, but easily overridable by providing your own schedule() method.

Cheers,
Ovid
--
IT consulting, training, international recruiting
       http://www.allaroundtheworld.fr/.
Buy my book! - http://bit.ly/beginning_perl
Live and work overseas - http://www.overseas-exile.com/

Loading...