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, etc.) that can be used directly or work with continuous integration platforms (Jenkins, Maven, etc.). LuaUnit may be installed as a rock or directly added to your project. For simplicity, LuaUnit is contained into a single file and has no external dependency. LuaUnit may also be used as an assertion library, to validate assertions inside a running program. In addition, it provides a pretty stringifier that converts any type into a nicely formatted string (including complex nested or recursive tables).

Features

  • Documentation available
  • The command-line options provide a flexible interface to select tests by name or patterns
  • LuaUnit may also be used as an assertion library
  • Validate assertions inside a running program
  • Support for Lua 5.4
  • Choose test output style with environment variable LUAUNIT_OUTPUT

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow LuaUnit

LuaUnit Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LuaUnit!

Additional Project Details

Programming Language

Lua

Related Categories

Lua Frameworks

Registered

2024-07-24