Commit graph

91 commits

Author SHA1 Message Date
Enno Rehling
8bed3f3329 fix give_unit test for E3
extract read_factions from read_game, now small and nice.
2019-08-25 18:11:14 +02:00
Enno Rehling
772386ffc7 debug logging did not help. nothing unusual here, just weirdly intermittent. 2018-10-12 20:46:48 +02:00
Enno Rehling
681cf32e1f remove besiege from keywords[] array
fix broken at_keys attributes
remove unused global.attribs
2018-09-15 18:35:27 +02:00
Enno Rehling
9456c4bdc7 fix debug logging. 2018-09-09 15:16:11 +02:00
Enno Rehling
1d7318d9b6 test that new orcs have weapon skills. 2018-05-13 20:36:49 +02:00
Enno Rehling
298e220cfd Oh. E3 hat kein autoseed, ergo kein seed_elf equipment? 2018-05-12 19:18:25 +02:00
Enno Rehling
271352d0ba create a lua module that can handle simple euipments.
lua test for equip_unit, with callbacks.
2018-05-12 19:10:40 +02:00
Enno Rehling
2a213d9302 try to analyze intermittent bug on travis 2018-05-10 18:03:47 +02:00
Enno Rehling
96062f6f85 rename p2->lifepotion (WdL) 2018-02-17 10:45:56 +01:00
Enno Rehling
bf591ecec5 BUG 2415: eliminate at_potiondelay and WdL delay.
BUG 2419: refactor ointment and healing, add tests for USE
2018-02-15 20:25:58 +01:00
Enno Rehling
1ee6f5444a finish XInclude removal project.
reduce number of XML files for E3.
2018-02-06 21:28:55 +01:00
Enno Rehling
250faefff4 fix potion test, use only one 2017-12-27 07:11:21 +01:00
Enno Rehling
28252fda7b bug 2197: fix E3 potion text. 2017-12-26 16:09:15 +01:00
Enno Rehling
8e823c9403 Tests require regular trees, not mallorn. 2017-12-26 15:57:59 +01:00
Enno Rehling
4397c67d1c bug 2197: add acceptance test for Wasser des Lebens 2017-12-26 13:23:14 +01:00
Enno Rehling
77cf7f6876 new factions cannot guard 2017-12-22 20:07:30 +01:00
Enno Rehling
73f49ec90a fix demon hunger in E3 and one intermittent test.
tests involving demons can disable skill changes.
2017-12-22 19:14:01 +01:00
Enno Rehling
714e44cd71 BUG 2392: remove minskill attribute from any weapons. 2017-12-17 10:19:07 +01:00
Enno Rehling
0f014153c0 add a test that proves bug 2392 to be user error. 2017-12-16 20:41:03 +01:00
Enno Rehling
60efb12d70 Zombies koennen Personen gebn 2017-07-09 13:37:46 +02:00
Enno Rehling
7806f4991f store calendar configuration nin JSON, not XML. 2017-05-07 17:46:51 +02:00
Enno Rehling
8e9866f0ce additional tests for spells.
also some support functionality for lua tests.
2017-05-01 19:09:00 +02:00
Enno Rehling
976b23be72 refactor E3 to use the same raindance/harvest spells as E2.
only indirect effects are different.
2017-04-30 21:39:08 +02:00
Enno Rehling
74673f172f test for raindance/harvest spells, both games 2017-04-30 21:38:30 +02:00
Enno Rehling
fb8f63e73b also fix the test 2017-04-30 17:48:08 +02:00
Enno Rehling
6da21dbbe9 Zaubertests in Ebenen sind unstabil.
In E3 bekommen Elfen eien Bonus im Wald.
2017-04-30 17:42:16 +02:00
Enno Rehling
df96589ea6 add tests for earn_silver.
this is an odd one, don't want to break it.
2017-04-30 17:25:24 +02:00
Enno Rehling
f2d8392206 add tests for correct castle stage names. 2017-04-25 16:47:26 +02:00
Enno Rehling
8b02c540fd re-enable accidentally disabled tests 2017-04-25 13:27:13 +02:00
Enno Rehling
7c680481de iron golems can build dwarf armor in E3. 2017-04-02 15:43:14 +02:00
Enno Rehling
8bb7cf8878 WIP: this error has a new message. 2017-04-02 15:39:50 +02:00
Enno Rehling
37f3c02ceb do not write reports in tests. 2017-03-30 23:18:50 +02:00
Enno Rehling
4115b321b3 add tests for additional (race-related) production rules. 2017-03-30 21:00:35 +02:00
Enno Rehling
d7fa405dbe Merge branch 'test-races' into develop 2017-03-30 19:09:32 +02:00
Enno Rehling
570a25f6dd split production rules by games 2017-03-30 19:08:33 +02:00
Enno Rehling
f2bb51b3ab Merge branch 'master' into develop
Conflicts:
	res/adamantium.xml
	res/core/resources/laen.xml
	scripts/tests/common.lua
	scripts/tests/e2/adamantium.lua
	scripts/tests/e2/e2features.lua
	scripts/tests/e2/items.lua
	scripts/tests/items.lua
	src/bind_unit.c
	src/economy.test.c
	src/kernel/resources.c
	src/util/attrib.c
2017-03-26 21:01:21 +02:00
Enno Rehling
39a5b55753 bugfix? mine grants +1 to laen production.
not certain that this is actually a bug.
2017-03-26 17:40:13 +02:00
Enno Rehling
bd40de1142 additional testing for production rules. 2017-03-26 17:38:45 +02:00
Enno Rehling
4c67e0603b remove attribs from rtype (it's only in rtype->construction that we use it?)
test to verify that mine bonus for iron works as advertised.
change the oder of arguments for faction.create (race is the only thing not optional).
2017-03-17 22:46:10 +01:00
Enno Rehling
51ec560f72 Merge branch 'master' into develop
Conflicts:
	scripts/tests/e2/init.lua
	scripts/tests/e3/init.lua
	src/economy.c
	src/economy.test.c
	src/kernel/item.c
	src/modules/arena.c
2017-03-11 14:41:25 +01:00
Enno Rehling
a265bc9cdb test giving stuff to 0. 2017-03-03 18:03:34 +01:00
Enno Rehling
259d7d9e80 add a test for giving horses to 0.
should add those horses to the region.
remove horses from test that is about 50% silver.
2017-03-03 16:50:43 +01:00
Enno Rehling
6e8e163099 make item allow/deny XML easier to read, fix code 2017-03-03 09:56:27 +01:00
Enno Rehling
b0baba4405 bug 2290: sawmill bonus was broken.
not pleased with the test, which is in lua only.
https://bugs.eressea.de/view.php?id=2290
2017-03-02 19:21:11 +01:00
Enno Rehling
17d410345f failing test for bug 2288 2017-02-28 21:50:49 +01:00
Enno Rehling
2eb88c472c have I bollocksed up the deny/allow rules? looks like it 2017-02-28 14:22:59 +01:00
Enno Rehling
c276b5a43c generate error, not crash.
todo: fix items
2017-02-28 14:22:59 +01:00
Enno Rehling
5a01eae522 make item_use function crash if new and old rules do not agree
add a 'test' function to E3 that exercises all those items
2017-02-28 14:22:59 +01:00
Enno Rehling
1b93c14806 Test E2 items in E2 only.
Remove eye of demon (broken item).
2017-02-27 18:50:48 +01:00
Enno Rehling
1dcb21b08c bug 2281: add a failing test
https://bugs.eressea.de/view.php?id=2281
2017-02-14 20:30:24 +01:00