X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2FREADME;h=97081552a5e031fd18aef0441d36b25e7a056e17;hb=593b8e3caab9e946c87c7bea10aac7f72ddfc362;hp=94fbe2d0c50581a869c049a16c649ab7dae09801;hpb=53074fb1eab1088d829a9a3f5aa02797a6fd540e;p=open-adventure.git diff --git a/tests/README b/tests/README index 94fbe2d..9708155 100644 --- a/tests/README +++ b/tests/README @@ -3,10 +3,14 @@ A .tst extension means it's a game log A .chk extension means it's expected output from a test +The test files are run in alphabetical order. This allows you to ensure certain tests are run in a particular order merely by giving them appropriate names, e.g.: test.1.log, test.2.log, test.3.log. This is useful for testing save and resume. + In general, a file named foo.chk is the expected output from theb game log foo.log. To add new tests, just drop log files in this directory. -To see summary lines from all tests, 'make testlist'. +To see summary lines from all tests, 'make testlist'. The summary lines +are those led with ##; you should have one such descriptive line at the +head of the file. To run the tests, "make regress".