open-adventure/tests
2022-04-18 12:40:09 -04:00
..
axebear.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
axebear.log Recover 100% test coverage. 2018-11-16 05:04:18 -05:00
axeorama.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
axeorama.log YAML coverage - more locations and message 2017-07-13 21:52:27 -04:00
barehands.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
barehands.log Deal around newline-only lines pruned to zero-lenght 2017-07-07 11:21:37 +03:00
bigfail.chk Another coverage improvement 2022-04-12 21:24:42 -04:00
bigfail.log Another coverage improvement 2022-04-12 21:24:42 -04:00
birdsnakewake.chk Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -04: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 Fix for GitLab issue #40: Inconsistant inventory space 2018-03-10 17:58:46 -05:00
birdweight.log Fix for GitLab issue #40: Inconsistant inventory space 2018-03-10 17:58:46 -05:00
boulder2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
boulder2.log YAML coverage - more locations and message 2017-07-13 21:52:27 -04:00
breakmirror.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
breakmirror.log Some test improvements 2017-07-06 11:04:07 +03:00
carrybird.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
carrybird.log Coverage -- intransitive attack 2017-07-02 21:42:42 -04:00
carryfreebird.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
carryfreebird.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
cheatresume.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
cheatresume.log adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
cheatresume2.chk Last remnants of packing removed. 2017-07-20 10:36:22 -04:00
cheatresume2.log adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
coverage_dungeon.py pylint cleanup. 2022-04-14 13:54:45 -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 Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
domefail.log LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
dragon_secret5.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
dragon_secret5.log Clean up test titles. 2017-07-09 14:58:44 -04:00
dropcagedbird.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
dropcagedbird.log Fail to feed the snake, find the pirate before he pounces 2017-07-10 15:10:46 +03: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 Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
dwarf_alternative.log Comment polishing. 2018-11-18 16:27:06 -05:00
eggs_done.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
eggs_done.log Tests for failing with the golden eggs 2017-07-09 20:35:24 +03:00
eggs_vanish.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
eggs_vanish.log LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -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 Address GitLab issue #55: water should not be available in endgame. 2021-02-15 22:21:26 -05:00
endobjects.log Resolve Gitlab issue #55: in endgame, some object starting states are incorrect 2022-04-05 19:20:21 -04:00
fail_hint_maze.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -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 Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
fail_hint_ogre.log Comment polishing. 2017-07-11 04:35:00 -04:00
fail_hint_ogre2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00: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 Fail getting some more hints by disqualifying conditions 2017-07-10 15:10:46 +03:00
fail_hint_woods.log Fail getting some more hints by disqualifying conditions 2017-07-10 15:10:46 +03:00
fillfail.chk Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
fillfail.log Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
fillvase.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
fillvase.log Record a fix. 2017-07-11 19:13:24 -04:00
flyback.chk Fix issue #51: rug flying is broken 2022-04-05 15:18:17 -04:00
flyback.log Fix issue #51: rug flying is broken 2022-04-05 15:18:17 -04: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 Add a test of resurrection logic. 2022-04-13 04:38:41 -04:00
footslip.log Add a test of resurrection logic. 2022-04-13 04:38:41 -04:00
gemstates.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
gemstates.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
goback.chk Take test coverage back to 100% 2022-04-12 22:47:41 -04:00
goback.log Take test coverage back to 100% 2022-04-12 22:47:41 -04:00
hint_dark.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
hint_dark.log Fuzzed tests for two of untested hint conditions 2017-07-07 22:41:53 +03:00
hint_grate.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
hint_grate.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
hint_jade.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
hint_jade.log YAML coverage - hints 100% covered 2017-07-13 21:52:27 -04:00
hint_snake.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -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 Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
hint_urn.log Fuzzed tests for two of untested hint conditions 2017-07-07 22:41:53 +03:00
hint_witt.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
hint_witt.log YAML coverage - hints 100% covered 2017-07-13 21:52:27 -04:00
illformed.chk Second part of fix for "fee fie foe foo" and "fum", with test. 2022-04-06 14:41:30 -04:00
illformed.log Coverage improvement. Also, it's rude to die silently. 2018-11-15 13:55:10 -05:00
intransitivecarry.chk Test coverage -- intransitive carry when one object is present 2017-06-19 17:33:32 -04:00
intransitivecarry.log Test coverage - failure to fill 2017-06-19 17:33:32 -04:00
isofoo.chk Add a test for the isolated-foo case 2022-04-06 14:54:43 -04:00
isofoo.log Add a test for the isolated-foo case 2022-04-06 14:54:43 -04:00
issue36.chk Create regression test for issue #36. 2018-11-14 13:17:56 -05:00
issue36.log Create regression test for issue #36. 2018-11-14 13:17:56 -05:00
issue37.chk Regression test for GitLab issue #37 fix. 2018-11-14 13:03:33 -05:00
issue37.log Regression test for GitLab issue #37 fix. 2018-11-14 13:03:33 -05:00
lampdim.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
lampdim.log YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
lampdim2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
lampdim2.log Test coverage -- more corner cases in actions.c 2017-06-20 18:43:19 -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 Coverage - Die while closing after lamp dim 2017-06-29 15:30:22 -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 Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
lockchain.log YAML coverage - TROLL_BLOCKS arbitrary message 2017-07-15 18:10:29 -04:00
logopt.chk Completely wire vocab words in YAML to the code. 2017-06-29 01:59:37 -07:00
logopt.log Jettison the -s option. 2017-07-01 07:22:53 -07:00
Makefile Reorganize and clean up test machinery. 2022-04-14 12:27:15 -04:00
mazealldiff.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
mazealldiff.log Coverage: LOC_DIFFERENT* and fail to feed bear 2017-07-09 15:32:14 -04:00
mazehint.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -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
notrident.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
notrident.log Get symbol coverage on LOC_SMALLPIT 2017-07-19 15:38:31 -04:00
ogre_no_dwarves.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
ogre_no_dwarves.log Test for failure to deal with ogre by attacking him 2017-07-09 20:39:14 +03:00
ogrehint.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
ogrehint.log Trigger 'NO_EDIBLES' message 2017-07-05 08:37:04 +03:00
oilplant.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
oilplant.log Make a test more explicit. 2017-07-05 11:47:10 -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
panic.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
panic.log Improve test coverage. 2017-06-18 16:08:09 -04:00
panic2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
panic2.log Improve test coverage. 2017-06-18 16:08:09 -04:00
pirate_carry.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
pirate_carry.log Some fuzzing-generated tests, with possible coverage redundancies 2017-07-09 20:25:39 +03:00
pirate_pyramid.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
pirate_pyramid.log Clean up test titles. 2017-07-09 14:58:44 -04:00
pirate_spotted.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
pirate_spotted.log Comment polishing. 2017-07-11 04:35:00 -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 Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
plover.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
reach_ledge_short.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
reach_ledge_short.log YAML coverage - locations 100% covered 2017-07-13 21:52:27 -04:00
reach_noclimb.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
reach_noclimb.log YAML coverage - locations 100% covered 2017-07-13 21:52:27 -04:00
reach_planttop.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
reach_planttop.log YAML coverage - locations 100% covered 2017-07-13 21:52:27 -04:00
README Another coverage tweak. 2018-11-15 12:40:04 -05:00
reincarnate.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
reincarnate.log Arrange test coverage of reincarnation code. 2017-06-13 09:48:32 -04:00
resumefail.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
resumefail.log Save/resume fail test coverage -- test works in Docker now 2017-06-19 13:09:15 -04:00
resumefail2.chk Bump save version number in a test. 2019-02-28 13:04:12 -07:00
resumefail2.log Clean up test titles. 2017-07-09 14:58:44 -04:00
savefail.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
savefail.log Save/resume fail test coverage -- test works in Docker now 2017-06-19 13:09:15 -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 Documentation and comment cleanup. 2017-06-29 16:37:07 -04:00
saveresume.2.chk Documentation and comment cleanup. 2017-06-29 16:37:07 -04:00
saveresume.2.log Documentation and comment cleanup. 2017-06-29 16:37:07 -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 adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
saveresume.4.chk YAML coverage parser bug fixed -- handling \n and \t correctly 2017-07-13 21:52:27 -04:00
saveresume.4.log Improve test coverage. 2022-04-07 06:42:20 -04:00
saveresumeopt.chk Fixed -r option. Added test to make sure it doesn't break later. 2017-07-02 01:36:28 -04:00
saveresumeopt.log Fixed -r option. Added test to make sure it doesn't break later. 2017-07-02 01:36:28 -04:00
seedcrash.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
seedcrash.log Reduce verbosity. 2017-06-15 21:36:06 -04:00
snake_food.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
snake_food.log Test for regression from before localizing SPK 2017-06-13 20:49:01 +03:00
softroom.chk Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -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 Remove 'version test... 2017-08-01 19:45:55 -04:00
specials.log Remove 'version test... 2017-08-01 19:45:55 -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
tall.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
tall.log LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
tapdiffer Switch normal regression testing to TAP output. 2022-04-13 03:13:53 -04:00
tapview Switch normal regression testing to TAP output. 2022-04-13 03:13:53 -04:00
trident.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
trident.log YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
troll_returns.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
troll_returns.log Trim a legend to less than 80 lines. 2021-01-11 00:20:03 -05: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 Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
urntest.log Test for filling full bottle with different liquid 2017-07-04 20:35:03 +03:00
urntest2.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
urntest2.log Coverage -- more odd actions 2017-07-04 17:41:42 -04:00
urntest3.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
urntest3.log More comment polishing. 2017-07-11 04:42:36 -04:00
vending.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -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 Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
water_plant2.log Clean up test titles. 2017-07-09 14:58:44 -04:00
weirdbird.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
weirdbird.log Restore full code coverage. 2017-07-20 13:37:26 -04:00
weirddwarf.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
weirddwarf.log Two more lines of coverage; more cleanup for macros 2017-07-09 20:25:28 +03:00
wittsend.chk Apply the recent typo fixes to the tests, so they pass. 2019-02-28 10:24:14 +00:00
wittsend.log Add a walkthrough that foes nearly to endgame. 2017-06-01 14:36:16 -04:00
woodshint.chk Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml 2017-07-21 10:23:02 -04:00
woodshint.log LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -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