Initial checkin of a testsuite
[mmh] / test / README
1 nmh unit test suite.
2
3 The purpose of these tests is to verify the functionality of the nmh
4 commands.  The goal of the suite is to create an environment where testing
5 nmh commands is easy and useful.  Each test is a shell script, and is
6 launched via the 'sh' command.
7
8 The Suite is arranged as such:
9
10 setup-test
11     Create the unit test framework.  This will re-generate your configure
12     script and make files.
13
14 teardown-test
15     Remove the temporary files created as part of the unit tests.
16
17 runtest
18     Run a single test.
19
20 runalltests
21     Run all tests in the suite
22
23 tests
24     Directory containing the tests.  All files found in this and all
25     subsequent directories which have the name test-* will be treated as a
26     single test.
27
28 Complex tests may be given their own directory as long as there is a file
29 named 'test-*' in the directory which will launch the test.