open-adventure/tests
2023-03-29 14:40:38 -04:00
..
axebear.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
axebear.log Recover 100% test coverage. 2018-11-16 05:04:18 -05:00
axeorama.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
axeorama.log YAML coverage - more locations and message 2017-07-13 21:52:27 -04:00
barehands.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
barehands.log
bigfail.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
bigfail.log Another coverage improvement 2022-04-12 21:24:42 -04:00
birdsnakewake.chk Bugfix: bird starts caged in endgame. 2023-03-11 09:35:26 -05:00
birdsnakewake.log Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -04:00
birdweight.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
birdweight.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
boulder2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
boulder2.log Test cleanup and reconvilation with advent430. 2023-03-22 14:48:49 -04:00
breakmirror.chk Document a bugfix and isolate it in a test. 2023-03-29 09:24:12 -04:00
breakmirror.log Document a bugfix and isolate it in a test. 2023-03-29 09:24:12 -04:00
carrybird.chk More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
carrybird.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
carryfreebird.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
carryfreebird.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
cheatresume.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
cheatresume.log adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
cheatresume2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
cheatresume2.log adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
coverage_dungeon.py Real test coverage dor SAVE_TAMPERING. 2023-03-12 17:37:58 -04:00
death-jump.chk Fix some accidental test damage in Javier's last commit. 2018-11-11 08:02:21 -05:00
death-jump.log
decheck
defeat.chk Another test coverage improvement. 2022-04-12 21:51:37 -04:00
defeat.log Another test coverage improvement. 2022-04-12 21:51:37 -04:00
domefail.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
domefail.log
dragon_secret5.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
dragon_secret5.log
dropcagedbird.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
dropcagedbird.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
drown.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
drown.log
dwarf.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
dwarf.log
dwarf_alternative.chk More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
dwarf_alternative.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
eggs_done.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
eggs_done.log Test cleanup. 2023-03-22 00:05:58 -04:00
eggs_vanish.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
eggs_vanish.log Test cleanup. 2023-03-22 00:05:58 -04:00
endgame428.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
endgame428.log
endobjects.chk Bugfix: bird starts caged in endgame. 2023-03-11 09:35:26 -05:00
endobjects.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
fail_hint_maze.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fail_hint_maze.log
fail_hint_ogre.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fail_hint_ogre.log
fail_hint_ogre2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fail_hint_ogre2.log Add a test for the isolated-foo case 2022-04-06 14:54:43 -04:00
fail_hint_woods.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fail_hint_woods.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
fillfail.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fillfail.log
fillvase.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fillvase.log
flyback.chk Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
flyback.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
foobug.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
foobug.log Fix interrupted-magic-words cosmetic bug. 2023-03-10 16:43:27 -05:00
foofum.chk Address GitLab issue #56: handling of "fee fie foe foo" and "fum" 2022-04-06 13:43:08 -04:00
foofum.log Address GitLab issue #56: handling of "fee fie foe foo" and "fum" 2022-04-06 13:43:08 -04:00
footslip.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
footslip.log Add a test of resurrection logic. 2022-04-13 04:38:41 -04:00
gemstates.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
gemstates.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
goback.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
goback.log Take test coverage back to 100% 2022-04-12 22:47:41 -04:00
hint_dark.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_dark.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
hint_grate.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_grate.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
hint_jade.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_jade.log Test cleanup and reconvilation with advent430. 2023-03-22 14:48:49 -04:00
hint_snake.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_snake.log
hint_urn.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_urn.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
hint_witt.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
hint_witt.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
illformed.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
illformed.log Coverage improvement. Also, it's rude to die silently. 2018-11-15 13:55:10 -05:00
intransitivecarry.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
intransitivecarry.log
isofoo.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
isofoo.log Add a test for the isolated-foo case 2022-04-06 14:54:43 -04:00
issue36.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
issue36.log Create regression test for issue #36. 2018-11-14 13:17:56 -05:00
issue37.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
issue37.log Regression test for GitLab issue #37 fix. 2018-11-14 13:03:33 -05:00
lampdim.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
lampdim.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
lampdim2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
lampdim2.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
lampdim3.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
lampdim3.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
listen.chk Add test for correct listen behavior. 2022-04-06 07:54:20 -04:00
listen.log Add test for correct listen behavior. 2022-04-06 07:54:20 -04:00
listenloud.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
listenloud.log
lockchain.chk More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
lockchain.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
logopt.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
logopt.log
Makefile Add a useful warning to the tests makefile 2023-03-29 09:36:58 -04:00
mazealldiff.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
mazealldiff.log
mazehint.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
mazehint.log
multifile.chk Improve test coverage. 2022-04-07 06:42:20 -04:00
newfilter Reconciliation with advent430. 2023-03-22 20:39:36 -04:00
notrident.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
notrident.log Get symbol coverage on LOC_SMALLPIT 2017-07-19 15:38:31 -04:00
ogre_no_dwarves.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
ogre_no_dwarves.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
ogrehint.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
ogrehint.log
oilplant.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
oilplant.log
oldfilter Reconciliation with advent430. 2023-03-22 20:39:36 -04:00
oldstyle.chk
oldstyle.log
outcheck.sh More TAPification. 2023-03-16 09:48:16 -04:00
oysterbug.chk Add a more carefully factored test... 2023-03-29 10:59:42 -04:00
oysterbug.log Add a more carefully factored test... 2023-03-29 10:59:42 -04:00
panic.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
panic.log
panic2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
panic2.log
pirate_carry.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
pirate_carry.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
pirate_pyramid.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
pirate_pyramid.log
pirate_spotted.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
pirate_spotted.log Test cleanup and reconvilation with advent430. 2023-03-22 14:48:49 -04:00
pitfall.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
pitfall.log Prompt and taunt you after 3rd and final death 2017-07-13 21:52:27 -04:00
plover.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
plover.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
reach_ledge_short.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
reach_ledge_short.log More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
reach_noclimb.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
reach_noclimb.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
reach_planttop.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
reach_planttop.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
README Another coverage tweak. 2018-11-15 12:40:04 -05:00
reincarnate.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
reincarnate.log
resumefail.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
resumefail.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
resumefail2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
resumefail2.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
savefail.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
savefail.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
saveresume.1.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
saveresume.1.log
saveresume.2.chk
saveresume.2.log
saveresume.3.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
saveresume.3.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
saveresume.4.chk Relax the savefile validity check a little. 2023-03-12 10:03:43 -04:00
saveresume.4.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
saveresumeopt.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
saveresumeopt.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
savetamper.chk Real test coverage dor SAVE_TAMPERING. 2023-03-12 17:37:58 -04:00
savetamper.log Real test coverage dor SAVE_TAMPERING. 2023-03-12 17:37:58 -04:00
snake_food.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
snake_food.log
softroom.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
softroom.log Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -04:00
specials.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
specials.log Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
splatter.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
splatter.log
takebird.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
takebird.log Bugfix: bird starts caged in endgame. 2023-03-11 09:35:26 -05:00
tall.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
tall.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00
tapdiffer TAPify the ancient-diffs report. 2023-03-22 00:05:58 -04:00
tapview Update our tapview copy. 2023-02-28 15:04:42 -05:00
trident.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
trident.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
troll_returns.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
troll_returns.log Test cleanup and reconvilation with advent430. 2023-03-22 14:48:49 -04:00
turnpenalties.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
turnpenalties.log
urntest.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest.log
urntest2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest2.log
urntest3.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest3.log
vending.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
vending.log
wakedwarves.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves.log
wakedwarves2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves2.log
wakedwarves3.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves3.log
water_plant2.chk Test simplification - we don't care about the difference in processing blank lines. 2023-03-22 21:20:24 -04:00
water_plant2.log Test simplification - we don't care about the difference in processing blank lines. 2023-03-22 21:20:24 -04:00
weirdbird.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
weirdbird.log Restore full code coverage. 2017-07-20 13:37:26 -04:00
weirddwarf.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
weirddwarf.log
win430.chk Quoting fixes in the YAML. 2023-03-22 00:05:58 -04:00
win430.log Add Ryan Sarson's 430-point win to the test suite. 2023-02-27 23:03:38 -05:00
wittsend.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
wittsend.log
woodshint.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
woodshint.log Clean up some tests, adding newlines at EOF where they're missing. 2023-03-29 10:55:56 -04:00

= Notes on the test machinery = 

== Understanding and running tests ==

A .log 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 the game log
foo.log.  To add new tests, just drop log files in this directory.

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 each file.

To run the tests, "make regress".

To remake the check files, "make buildregress".

== Composing tests ==

The simplest way to make a test is to simply play a game with the -l
option giving a log path.  Commands will be captured to that log.

To re-use a command sequence from an existing log, run advent and
paste it to the advent command log from the clipboard.

To see where we can use more tests, have a look at our test coverage
report:

http://esr.gitlab.io/open-adventure/coverage/

Improvements in test coverage are always welcome.

// end