lua-quickcheck

Property based testing library for Lua

$ luarocks install lua-quickcheck

QuickCheck is a way to do property based testing using randomly generated input.
Lua-QuickCheck comes with the ability to randomly generate and shrink integers,
doubles, booleans, strings, tables, custom datatypes, ...
All QuickCheck needs is a property function -- it will then randomly generate
inputs to that function and call the property for each set of inputs. If the
property fails (whether by an error or not satisfying your property),
the inputs are "shrunk" to find a smaller counter-example.

Versions

0.2-45 years ago452 downloads
0.2-36 years ago86 downloads
0.2-27 years ago65 downloads
0.2-17 years ago72 downloads
0.2-07 years ago6,093 downloads
0.1-07 years ago219 downloads

Dependencies

argparse >= 0.5.0
lua >= 5.1, < 5.3
LuaFileSystem >= 1.5.0

Manifests