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
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
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