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
Top-Rated Free CRM Software Icon
Top-Rated Free CRM Software

216,000+ customers in over 135 countries grow their businesses with HubSpot

HubSpot is an AI-powered customer platform with all the software, integrations, and resources you need to connect your marketing, sales, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.
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