Traitor/test/README

17 lines
603 B
Plaintext

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.