whats_his_face 309a26eb7e Add test suite for 'tdc.lua' 1 year ago
..
luaunit 602c24ddf1 Add unit test support 2 years ago
mocks 0a5a291bed Protect builder mode-switch API against inventory overrides 1 year ago
suites 309a26eb7e Add test suite for 'tdc.lua' 1 year ago
.gitignore 602c24ddf1 Add unit test support 2 years ago
README 602c24ddf1 Add unit test support 2 years ago
all-tests.lua 309a26eb7e Add test suite for 'tdc.lua' 1 year ago
genconf.sh aa0b95b3e5 Make search paths extensible via new "-D" cmdline switch 1 year ago
mtmock.lua 4b8e55411c Sync test framework with Minetest 5.6 1 year ago

README

This directory contains tests for the traitor game. Currently the test
code requires the following:
- Lua (or luajit) standalone executable

If you haven't already done so, first create a file "mtmock.conf" in
this directory before you can use the tests. This file contains
some essential directories used for the minetest mock.

The genconf.sh script might be able to create a valid mtmock.conf
for you.

Once you have a working mtmock.conf, execute the tests by running
"lua all-tests.lua" (or "luajit all-tests.sh").

You can use "lua all-tests.lua -h" to list all available cmdline parameters.