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 not yet released.

It's developed for Lua 5.1.

Documentation

TODO

Bibliography :

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

Download

lua-TestMore source can be downloaded from GitHub or Lua Forge.

Installation

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

luarocks install lua-testmore

If you prefer to install manually, just copy the files from /src. There are no building stage, lua-TestMore is a pure Lua module.

The Lua Test Suite

This suite is usable with :

It gives this coverage with Lua 5.1.4.

Contribute by sending the result from your platform :

cd test_lua51
make smolder

They are stored here by Smolder.

Copyright and License

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

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