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-15 years ago45 downloads
20121212-19 years ago92 downloads

Dependencies

lua ~> 5.1

Manifests