lua-TestMore


Overview

lua-TestMore is a port of the Perl5 module Test::More.

It uses the Test Anything Protocol as output, that allows a compatibility with the Perl QA ecosystem. For example, prove a basic CLI, or Smolder a Web-based Continuous Integration Smoke Server.

It's an extensible framework.

It allows a simple and efficient way to write tests (without OO style).

Some tests could be marked as TODO or skipped.

Errors could be fully checked with error_like().

It supplies a Test Suite for Lua itself.

References

Ian Langworth, chromatic, Perl Testing O'Reilly, 2005

Status

lua-TestMore is in beta stage.

It's developed for Lua 5.1, 5.2 & 5.3.

Download

lua-TestMore source can be downloaded from GitHub.

Installation

The easiest way to install lua-TestMore is to use LuaRocks:

luarocks install lua-testmore

or manually, with:

make install

The Lua Test Suite (5.1, 5.2 & 5.3)

This suite is usable with :

It gives this coverage with Lua 5.1.5, this coverage with Lua 5.2.4 and this coverage with Lua 5.3.4.

Copyright &copy 2009-2016 François Perrad OpenHUB LinkedIn

This library is licensed under the terms of the MIT/X11 license, like Lua itself.