4 ms·
We also broke out the assert library (https://github.com/Olivine-Labs/luassert https://github.com/Olivine-Labs/luassert) and the realllly basic beginnings of a
by ajacksified 14y ago
We also broke out the assert library (https://github.com/Olivine-Labs/luassert https://github.com/Olivine-Labs/luassert) and the realllly basic beginnings of a string key/value store for i18n (https://github.com/Olivine-Labs/say https://github.com/Olivine-Labs/say) while building this. Luassert is a drop-in replacement for lua's built-in assert, and you can use it in any Lua testing lib (like lunit.) These will be thoroughly documented soon™.
busted is inspired by frameworks like Mocha and Jasmine, and comes bundled with support to easily change the output functionality, write your own asserts, chain and negate asserts, and integrates an i18n library so that you can customize the language in the output. It installs using the luarocks package manager.