Traitor/test
whats_his_face 0a5a291bed Protect builder mode-switch API against inventory overrides 2022-05-07 14:51:27 -05:00
..
luaunit Add unit test support 2022-04-17 15:38:50 -05:00
mocks Protect builder mode-switch API against inventory overrides 2022-05-07 14:51:27 -05:00
suites Protect builder mode-switch API against inventory overrides 2022-05-07 14:51:27 -05:00
.gitignore Add unit test support 2022-04-17 15:38:50 -05:00
README Add unit test support 2022-04-17 15:38:50 -05:00
all-tests.lua Move shop code for switching between builder and player mode to lobby API. 2022-05-04 20:57:38 -05:00
genconf.sh Add unit test support 2022-04-17 15:38:50 -05:00
mtmock.lua Protect builder mode-switch API against inventory overrides 2022-05-07 14:51:27 -05:00

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.