I've written a simple test case based on Test::Perl::Critic which runs critic
on every single source file in the repository (all_critic_ok
). However, this test takes a long time, especially since I also use a Perl::Tidy policy.
Normally, criticizing different files is not dependent on other critics, so I thought I could parallelize those tests. As it turns out, TAP::Harness can indeed parallelize tests, but only file-wise, not test-wise.
How would you parallelize those tests? Any workaround will do.