11 Commits

Author SHA1 Message Date
elsid cbcd4f6acd Move matchers to different module 2025-03-25 23:24:24 +01:00
elsid 0e19b1dd75 Run Lua integration tests starting with menu script
This allows writing tests for menu scripts.

Keep global script as entry point to morrowind tests.

Fix menu.newGame and menu.loadGame to hide main menu.
2025-03-08 13:14:20 +01:00
elsid 7a9c2d5e88 Split local and global event handlers 2025-03-05 22:18:46 +01:00
elsid 981ca957c1 Register global tests to run them 2025-03-05 22:18:46 +01:00
elsid 7998689080 Add test for player's attack 2024-08-27 20:09:19 +02:00
elsid a416125cdf Format Lua code 2024-07-31 23:19:11 +02:00
elsid f5b24efdca Enable built-in script in the integration tests 2024-07-31 23:19:10 +02:00
elsid 323a8355d5 Add test to make sure player rotation does not lead to nan 2024-07-17 23:36:51 +02:00
elsid 94b085af9e Add Navigator and Lua API function to find nearest position on navmesh 2023-11-18 23:54:37 +01:00
elsid 5a0ad8cdd7 Add Morrowind specific tests 2023-07-22 01:31:55 +02:00
elsid 0389aa2b7e Move testing_util.lua to a separate directory to be reused as a library 2022-10-10 23:39:32 +02:00