Luaunit is a unit-testing framework for Lua, in the spirit of many other unit-testing frameworks. It lets you write test functions, test classes with test methods, and has setup/teardown functionality.