summaryrefslogtreecommitdiffstats
path: root/t/npg03/README
blob: 541ece7bded5600d10cb9d944719c7ddf3b1d0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Monitoring-Plugin-Getopt-03.t automatically tests all cases defined in
the 'input' directory and expects the output to match the
corresponding file in the 'expected' directory. To define a new test
case, just create a new file in the 'input' directory containing the
input command line, and a corresponding file in the 'expected'
directory containing what you think the expanded command line should
be. Note that this expansion is normalised as follows:

- command line arguments are reported in alphabetical order
- extraneous white space is removed

Also, if you use a completely new argument than those currently
defined in Monitoring-Plugin-Getopt-03.t you will need to define it
there as well.