in reply to Re^2: Parameter injection for testing
in thread [Solved] Parameter injection for testing
If the module is called directly prove is executed.
Like this I can hit F5 (run) in editor buffers holding the module for the whole suite or on individual test files for them only.
Like with Perl::Tidy and perltidy.pl, I rather prefer one (or more) separate script.pl instead of adding that functionality into the module.
And the scripts are also executed with the same F5 key.
Some prefer an extra key/command to run the test suite but this requires individual configuration of the IDE or the "project file".
I rather prefer holding the current prove config as perl code in the modules while developing.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|