X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2FREADME;h=97081552a5e031fd18aef0441d36b25e7a056e17;hb=cbf027c28b57ff9c85b0f311904839ab6f1bd6f9;hp=a6451dc4bff9680ae060a2c7799a47c2744fc28e;hpb=196a9e1a4960e01dcf4af9aef01a8daf3b5cbbc8;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.