11 Commits
Author SHA1 Message Date
elsid e2acaa9e71 Automatically discover Lua tests
To avoid duplicated tests registration.

Start discovery by sending an event. First for global tests and the for
local inside global event handler with timeout. Check for duplicates.

Check coroutine status after the end of a test to catch failures not
caused by asserts.

Support bypass in the menu.newGame to start morrowind tests from a menu
script skipping intro video.

Add --list_tests flag to print all found tests.
2026-08-19 23:26:45 +02:00
Evil Eye 8ebb981bdb Add an integration test 2026-03-01 20:58:14 +01:00
Evil Eye d147006c64 Add integration test 2025-10-25 11:10:45 +02:00
Cody GlassmanandAlexei Kotov bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
elsid 4433e3c2de Build path over navmesh for wandering actors
Using a path over pathgrid as checkpoints.

This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
2025-07-27 11:17:17 +02:00
Evil Eye 66b5623bc9 Actually run the new test 2025-07-03 07:37:58 +02:00
Evil Eye dca8c7c163 Add integration tests for mwscript-magic interactions 2025-07-02 17:03:33 +02:00
elsid 178f216317 Add Lua test for passing a NaN value 2025-06-05 23:58:41 +02:00
elsid 2ebdc43bbe Add test for load while teleporting
To reproduce #8311.

Load game while landracer is scheduled to teleport from different cell.
2025-03-25 23:41:04 +01:00
elsid 536325e0ba Add test for saving and loading the game 2025-03-25 23:40:58 +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