diff options
Diffstat (limited to 't/npg03/README')
| -rw-r--r-- | t/npg03/README | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/t/npg03/README b/t/npg03/README index a19f263..3dbdaf8 100644 --- a/t/npg03/README +++ b/t/npg03/README | |||
| @@ -1,13 +1,15 @@ | |||
| 1 | Nagios-Plugin-Getopt-03.t automatically tests all cases defined in the 'input' directory | 1 | Nagios-Plugin-Getopt-03.t automatically tests all cases defined in |
| 2 | and expects the output to match the corresponding file in the 'expected' directory. To | 2 | the 'input' directory and expects the output to match the |
| 3 | define a new test case, just create a new file in the 'input' directory containing the | 3 | corresponding file in the 'expected' directory. To define a new test |
| 4 | input command line, and a corresponding file in the 'expected' directory containing | 4 | case, just create a new file in the 'input' directory containing the |
| 5 | what you think the expanded command line should be. Note that this expansion is normalised | 5 | input command line, and a corresponding file in the 'expected' |
| 6 | as follows: | 6 | directory containing what you think the expanded command line should |
| 7 | be. Note that this expansion is normalised as follows: | ||
| 7 | 8 | ||
| 8 | - command line arguments are reported in alphabetical order | 9 | - command line arguments are reported in alphabetical order |
| 9 | - extraneous white space is removed | 10 | - extraneous white space is removed |
| 10 | 11 | ||
| 11 | Also, if you use a completely new argument than those defined in Nagios-Plugin-Getopt-03.t | 12 | Also, if you use a completely new argument than those currently |
| 12 | you will need to define it there as well. | 13 | defined in Nagios-Plugin-Getopt-03.t you will need to define it |
| 14 | there as well. | ||
| 13 | 15 | ||
