lua-TestMore
an Unit Testing Framework

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.

Status

lua-TestMore is in beta stage.

It's developed for Lua 5.1 & 5.2.

Documentation

TODO : a manual

Bibliography :

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

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)

This suite is usable with :

It gives this coverage with Lua 5.1.5 and this coverage with Lua 5.2.1.

Contribute by sending the result from your platform :

cd test_lua51
make smolder

They are stored here by Smolder.

Copyright and License

Copyright © 2009-2012 François Perrad ohloh profile for François Perrad View François Perrad's profile on LinkedIn

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