X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2FREADME;fp=tests%2FREADME;h=97081552a5e031fd18aef0441d36b25e7a056e17;hb=78f5cc9e6ad57ae3d36996a69000764672b85891;hp=a6451dc4bff9680ae060a2c7799a47c2744fc28e;hpb=b2c774afeb327f66e47688e469a411e65fa45017;p=open-adventure.git diff --git a/tests/README b/tests/README index a6451dc..9708155 100644 --- a/tests/README +++ b/tests/README @@ -3,6 +3,8 @@ 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.