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, ...).
Our runtime is fairly strict, so it errors in these places:
myfile.lua: in lib/test/luaunit, near line 3429: globals error: writing nil to 'testNames'
Fixed by adding the local keyword.
Our runtime is fairly strict, so it errors in these places:
myfile.lua: in lib/test/luaunit, near line 3429: globals error: writing nil to 'testNames'
Fixed by adding the local keyword.