4 Commits

Author SHA1 Message Date
Yves-Marie Haussonne
8de4cc3964 feat(tests): enhance test framework for minetest mods
- Enhance instructions in the README for setting up and running tests with the test framework.
- Develop modules for registering and running tests within mods.
- Provide a mechanism to control which mods are tested through `test_harness_mods` setting.
- Improve summary display logic for test results and categorize them (passed, failed, skipped, dnr).
- Refactor scripts for better management of test execution and handling various cases.
2024-10-06 09:19:43 +02:00
Yves-Marie Haussonne
3bc13b5c9f feat[player]: Save and restore player inventories during test
Save complete players inventories, and added unit tests on players
2024-10-02 19:59:39 +02:00
Yves-Marie Haussonne
b40bbafd4c feat(tests): introduce modular test registration
- Adds support for registering tests under specific modules to enhance organization and categorization.
- Introduces `register_test` function scoped within a module using `get_test_registrator`.
- Track tests by module for improved visibility and management.
- Enhances test output formatting to include module information alongside test names.
2024-10-02 01:42:45 +02:00
Yves-Marie Haussonne
6514938564 Add generic test harness lib. test itself 2024-10-01 19:00:24 +02:00