Commit graph

317 commits

Author SHA1 Message Date
Aaron Traas
4bffb10094 YAML coverage - hints 100% covered 2017-07-13 21:52:27 -04:00
Aaron Traas
99595f6a2a YAML coverage parser bug fixed -- handling \n and \t correctly 2017-07-13 21:52:27 -04:00
Aaron Traas
2ec9c7cc1a YAML coverage parser fixed to equate "NO_MESSAGE" with None 2017-07-13 21:52:27 -04:00
Aaron Traas
a6e80af64f adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
Aaron Traas
e696fed6db Prompt and taunt you after 3rd and final death
Fixed a bug where you'd not be asked about whether to be resurrected a
final time. Now you are.
2017-07-13 21:52:27 -04:00
NHOrus
761d660cd2 Test that troll really retuns after we take eggs 2017-07-13 21:52:27 -04:00
Aaron Traas
0e2c851131 Expand scope of coverage_dungeon.py - actions and obituaries 2017-07-13 21:52:27 -04:00
Aaron Traas
e176039b01 Expand scope of coverage_dungeon.py - specials 2017-07-13 21:52:13 -04:00
Aaron Traas
39cc166979 Expand scope of coverage_dungeon.py
hints, classes and turn thrusholds are now supported
2017-07-12 17:52:56 -04:00
Eric S. Raymond
24f29c6ba7 Cosmetic text fix. 2017-07-12 13:48:55 -04:00
Aaron Traas
b5badcacc8 Forcing floating point division for % coverage, so we don't show 0% 2017-07-12 08:56:50 -04:00
Eric S. Raymond
4a4c113624 Prevent game from uttering solecisms about the "floor" when outside. 2017-07-12 00:19:16 -04:00
Jason S. Ninneman
bd1b893263 Python-agnosticize coverage_dungeon.py. 2017-07-11 23:14:40 +00:00
Eric S. Raymond
bcacb84166 Record a fix. 2017-07-11 19:13:24 -04:00
Eric S. Raymond
7ddbe04632 Demonstrate that we don't have the vase bug. 2017-07-11 19:06:10 -04:00
Aaron Traas
92ddbba212 LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
Eric S. Raymond
d7bad65d5b More comment polishing. 2017-07-11 04:42:36 -04:00
Eric S. Raymond
9a14d2e1cd Comment polishing. 2017-07-11 04:35:00 -04:00
Aaron Traas
21c36003cd Test message corrected 2017-07-10 16:04:48 -04:00
Aaron Traas
39fbd7a56f Revert "Remove 'version' test. Framework plays badly with variable output."
This reverts commit 13f7304081.
2017-07-10 16:04:48 -04:00
Aaron Traas
3bfaff447b Coverage - bird attack snake in endgame 2017-07-10 12:53:13 -04:00
Eric S. Raymond
13f7304081 Remove 'version' test. Framework plays badly with variable output.
We'll have to come up with generic solution to this.
2017-07-10 12:18:35 -04:00
NHOrus
0ea7dcf1a0 Version bump in tests 2017-07-10 15:11:19 +03:00
NHOrus
5ae50f1580 Fail getting some more hints by disqualifying conditions 2017-07-10 15:10:46 +03:00
NHOrus
6ae7d0bf16 Two different failures to get hint for ogre 2017-07-10 15:10:46 +03:00
NHOrus
af6ee946ef Fail to feed the snake, find the pirate before he pounces 2017-07-10 15:10:46 +03:00
Aaron Traas
91c9fa3066 Coverage: LOC_DIFFERENT* and fail to feed bear 2017-07-09 15:32:14 -04:00
Aaron Traas
f43bacfa0f Sort coverage report to make more readable 2017-07-09 15:31:11 -04:00
Eric S. Raymond
034a13595b Clean up test titles. 2017-07-09 14:58:44 -04:00
NHOrus
173b1b1acd Test for failure to deal with ogre by attacking him 2017-07-09 20:39:14 +03:00
NHOrus
9b879b41cb Test for selecting different plants 2017-07-09 20:36:41 +03:00
NHOrus
5cee3cc785 Tests for failing with the golden eggs 2017-07-09 20:35:24 +03:00
NHOrus
7ba34df739 Last unfired test - for getting the jade (better start over!) 2017-07-09 20:28:15 +03:00
NHOrus
2b22871cce Some fuzzing-generated tests, with possible coverage redundancies 2017-07-09 20:25:39 +03:00
NHOrus
53b68161ff Two more lines of coverage; more cleanup for macros 2017-07-09 20:25:28 +03:00
Aaron Traas
926a806db9 Made YAML coverage test work with variable messages (%s, %d, etc.) 2017-07-08 19:37:51 -04:00
NHOrus
c0817b6bb5 Fix dead bear tests 2017-07-08 20:02:30 +03:00
Eric S. Raymond
7d690e0b95 Set game.newloc when reincarnated. Fixes a bug. 2017-07-08 11:34:09 -04:00
Eric S. Raymond
9a6e492ba4 Expand test coverage, partly fixing Gitlab issue #23. 2017-07-08 08:59:28 -04:00
Aaron Traas
4446c61d5f Now YAML coverage test generates a nice HTML template 2017-07-07 22:41:59 -04:00
Aaron Traas
310559ce15 adventure.yaml coverage test script -- not at all polished, but works 2017-07-07 16:28:14 -04:00
NHOrus
9100c14d2c Fuzzed tests for two of untested hint conditions 2017-07-07 22:41:53 +03:00
NHOrus
551838cea2 Deal around newline-only lines pruned to zero-lenght
Test for that, too
2017-07-07 11:21:37 +03:00
NHOrus
cca3686f2f Clear login in bvreak
Test double-breaking of vase
2017-07-06 18:23:07 +03:00
NHOrus
ca7ac4063f Magic-number elimination and fix
More test coverage for some of the cases
2017-07-06 17:55:56 +03:00
NHOrus
aee5fff1a3 Some test improvements 2017-07-06 11:04:07 +03:00
Eric S. Raymond
88477f1175 Repair tests to track previous change. 2017-07-05 19:26:32 -04:00
NHOrus
d3578c9da9 Test for bear, from tag seed 2017-07-05 15:41:36 -04:00
NHOrus
603f548a21 Fixed feed command and white space in tests 2017-07-05 15:41:36 -04:00
NHOrus
7137c20316 Capture correct behavior from seed 2017-07-05 15:41:36 -04:00