loris has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I have just had the problem that a script using Getopt::Long tried to use the same option as both lowercase and uppercase. This was easily fixed (with Getopt::Long::Configure('no_ignore_case')). However, I started wondering what sort of testing framework would be best for this situation.
The script is short (less than 200 LoC) and really is just a script. In the past I have turned scripts into modules and then used Test::Simple or Test::More, but in this case, this seems like it would be overkill. Is, as suggested here, Test::Cmd the way to go?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test framework for simple command-line script?
by andreas1234567 (Vicar) on Jun 13, 2008 at 06:21 UTC |