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

You Might Also Like
The Comprehensive School Dismissal Solution Icon
The Comprehensive School Dismissal Solution

For Public, Charter, and Private Schools, Daycares, After-School Programs, and Summer Camps

PikMyKid is the first and only safe & smart dismissal solution for school districts, charter/private schools, after-school programs, YMCAs, JCCs, Summer camps, and daycare facilities. It connects schools, teachers, and parents through real-time tools to make dismissals safer and more efficient. PikMyKid schools are able to confidently organize their dismissals with ease and no longer rely on paper notes or tedious phone calls to the front office.
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