Home

Awesome

Lunatest is an xUnit-style, Lua-based unit testing framework with additional support for randomized testing (a la QuickCheck).

It's largely upwardly compatible from lunit, with the following changes:

The main (or only) test file should end in lunatest.run(), and can be run as a normal lua script. The following command-line arguments are supported:

For further examples, see the API documentation and included test suite.

Like Lua itself, Lunatest is distributed under the MIT license.