LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
This allows specifying the prefix for test and method names, so the tests can be now defined as follows:
or
If not provided, the behavior is unchanged and it defaults to the current
test
prefix.Example: