prtr-test

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

$ luarocks install prtr-test

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

20151116-1305 days ago3 downloads
20121212-14 years ago45 downloads

Dependencies

lua ~> 5.1

Manifests