Test::Synchronized
use Test::More tests => 1; use Test::Synchronized; ... ok(cant_run_with_other_tests());
Test::Synchronized provides simple (and giant) lock for your tests.
If you have a few test that not works in parallel, you should not give up to run whole tests in parallel.
The default lock is based on process ID. If you want to use different system, Please try Test::Synchronized::Extensible.
Kato Kazuyoshi <kato.kazuyoshi@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Synchronized, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Synchronized
CPAN shell
perl -MCPAN -e shell install Test::Synchronized
For more information on module installation, please visit the detailed CPAN module installation guide.