Test::Synchronized provides simple (and giant) lock for your tests.
If you want to run your tests in parallel, the lock makes your tests slow. But it will be better than unstable.
You can download the released version from http://search.cpan.org/dist/Test-Synchronized/.
And you can clone the respository from https://github.com/kzys/test-synchronized.
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.