prtr-test

A simple module to help in writing Lua modules self-tests.

The prtr-test module is a simple Lua module that defines a global 'expect' function, similar to 'assert' but that takes one more initial parameter, an expected value, that the actual tested value must match (rather than just being true as is the case of 'assert').

Versions

20121212-110 years ago222 downloads

Dependencies

lua ~> 5.1