open-adventure/tests
2023-04-01 11:01:28 -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 Deal around newline-only lines pruned to zero-lenght 2017-07-07 11:21:37 +03:00
bigfail.chk Truncatte bigfail test because the RNG gets confused by resurrection. 2023-03-29 18:25:35 -04:00
bigfail.log Truncatte bigfail test because the RNG gets confused by resurrection. 2023-03-29 18:25:35 -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 Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05: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 Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05: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 LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
decheck Add a small tool for making logs from checkfiles. 2017-06-06 00:52:04 -04:00
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 LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
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 Clean up test titles. 2017-07-09 14:58:44 -04:00
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 Some test improvements 2017-07-06 11:04:07 +03:00
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 Restory working seed value for dwarf.log. 2017-05-27 09:23:52 -07:00
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 More test coverage improvements. 2017-06-06 06:59:39 -04:00
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 getting some more hints by disqualifying conditions 2017-07-10 15:10:46 +03:00
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 Comment polishing. 2017-07-11 04:35:00 -04:00
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 Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
fillvase.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
fillvase.log Record a fix. 2017-07-11 19:13:24 -04:00
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 Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
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 Merge two NOCOMPARE tests. 2023-04-01 11:01:28 -04:00
illformed.log Merge two NOCOMPARE tests. 2023-04-01 11:01:28 -04:00
illformed2.chk Factor out most of illformed that doesn't cause advent430 problems. 2023-03-30 00:05:13 -04:00
illformed2.log Add explanatory comments to two tests. 2023-03-30 08:46:35 -04:00
intransitivecarry.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
intransitivecarry.log Test coverage - failure to fill 2017-06-19 17:33:32 -04:00
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 LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
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 Jettison the -s option. 2017-07-01 07:22:53 -07:00
Makefile Add a warning comment. 2023-04-01 08:46:44 -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 Coverage: LOC_DIFFERENT* and fail to feed bear 2017-07-09 15:32:14 -04:00
mazehint.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
mazehint.log Improve test coverage. 2017-06-18 11:36:03 -04:00
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 Trigger 'NO_EDIBLES' message 2017-07-05 08:37:04 +03:00
oilplant.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
oilplant.log Make a test more explicit. 2017-07-05 11:47:10 -04:00
oldfilter Factor out most of illformed that doesn't cause advent430 problems. 2023-03-30 00:05:13 -04:00
oldstyle.chk Magic-number elimination and fix 2017-07-06 17:55:56 +03:00
oldstyle.log Magic-number elimination and fix 2017-07-06 17:55:56 +03:00
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 Improve test coverage. 2017-06-18 16:08:09 -04:00
panic2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
panic2.log Improve test coverage. 2017-06-18 16:08:09 -04:00
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 Clean up test titles. 2017-07-09 14:58:44 -04:00
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 Tweak a fuzzed test fotr advent430 compability. 100% coverage. 2023-04-01 10:47:49 -04:00
reach_ledge_short.log Tweak a fuzzed test fotr advent430 compability. 100% coverage. 2023-04-01 10:47:49 -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 Arrange test coverage of reincarnation code. 2017-06-13 09:48:32 -04:00
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 Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05:27 -04:00
saveresume.2.chk Documentation and comment cleanup. 2017-06-29 16:37:07 -04:00
saveresume.2.log Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05:27 -04:00
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 Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05:27 -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 Test for regression from before localizing SPK 2017-06-13 20:49:01 +03:00
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 Improve test coverage. 2017-06-30 12:06:41 -04:00
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 Test to ensure that the turn count penalties occur. 2017-05-31 13:36:36 -07:00
urntest.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest.log Test for filling full bottle with different liquid 2017-07-04 20:35:03 +03:00
urntest2.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest2.log Coverage -- more odd actions 2017-07-04 17:41:42 -04:00
urntest3.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
urntest3.log More comment polishing. 2017-07-11 04:42:36 -04:00
vending.chk Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
vending.log Coverage -- intransitive attack 2017-07-02 21:42:42 -04:00
wakedwarves.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves.log Improve test coverage. 2017-06-14 05:44:45 -04:00
wakedwarves2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves2.log More comment polishing. 2017-07-11 04:42:36 -04:00
wakedwarves3.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wakedwarves3.log More comment polishing. 2017-07-11 04:42:36 -04:00
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 Two more lines of coverage; more cleanup for macros 2017-07-09 20:25:28 +03:00
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 Add a walkthrough that foes nearly to endgame. 2017-06-01 14:36:16 -04:00
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