Subject: | Add a config-driven launch script? |
First of all, even though I haven't used Test::Nightly (yet!) bravo for implementing something that was really needed.
I'm wondering if you've considered the final step, creating a default script and config format to control the testing.
This would take it beyond hacking up a script each time to just adding entries to config files, much more admin friendly and easier for someone to get started.
My guess for an implementation would be something like either "test_nightly" to go with the module name or some random combination of "perl", "test" and "cron"... so "perlcrontest" or one of the other 5 variants?
Personally just test_nightly does it for me just fine.
The implementation should be pretty simple too...
perl test_nightly /config/file/location.conf
With a default of ~/.test_nightly.conf or /etc/perl/Test/Nightly.conf if run by root.
Read in the config file, create the options, send them to ->new, and then run.
What do you think? If you aren't interested I'd be happy to do it as a seperate module.