X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2FREADME;fp=test%2FREADME;h=ddfa381c2402c8253039528c8dd05819212e373e;hb=031871c2ede845956070da603e8494690f7beb70;hp=0000000000000000000000000000000000000000;hpb=13f84dd50ca5754391dbd3296a5c7425f9363600;p=mmh diff --git a/test/README b/test/README new file mode 100644 index 0000000..ddfa381 --- /dev/null +++ b/test/README @@ -0,0 +1,29 @@ +nmh unit test suite. + +The purpose of these tests is to verify the functionality of the nmh +commands. The goal of the suite is to create an environment where testing +nmh commands is easy and useful. Each test is a shell script, and is +launched via the 'sh' command. + +The Suite is arranged as such: + +setup-test + Create the unit test framework. This will re-generate your configure + script and make files. + +teardown-test + Remove the temporary files created as part of the unit tests. + +runtest + Run a single test. + +runalltests + Run all tests in the suite + +tests + Directory containing the tests. All files found in this and all + subsequent directories which have the name test-* will be treated as a + single test. + +Complex tests may be given their own directory as long as there is a file +named 'test-*' in the directory which will launch the test.