almr has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm using "prove" to run tests produced by shell scripts. These shell scripts should be tested with various shells. So, manually, prove -e sh -j9; prove -e bash -j9 etc.
Now, I'd like to run the tests in parallel for all the shells (that's where the bottleneck really is). I can see several options:
- Create a bunch of wrapper scripts that run the actual tests, and test the Nt * Nsh wrappers instead of the actual tests. Horrible.
- Set up the harness manually and call runtests with multiple aliases for each .t file
- Extend TAP::Harness
- Learn more about Plugin, SourceHandler
Where should I look?
Back to
Seekers of Perl Wisdom