README 603 B

1234567891011121314151617
  1. This directory contains tests for the traitor game. Currently the test
  2. code requires the following:
  3. - Lua (or luajit) standalone executable
  4. If you haven't already done so, first create a file "mtmock.conf" in
  5. this directory before you can use the tests. This file contains
  6. some essential directories used for the minetest mock.
  7. The genconf.sh script might be able to create a valid mtmock.conf
  8. for you.
  9. Once you have a working mtmock.conf, execute the tests by running
  10. "lua all-tests.lua" (or "luajit all-tests.sh").
  11. You can use "lua all-tests.lua -h" to list all available cmdline parameters.