Unit testing framework with a focus on being easy to use

Edit Package lua-busted

busted is a unit testing framework with a focus on being easy to use. busted works with lua >= 5.1, moonscript, terra, and LuaJIT >= 2.0.0.

busted test specs read naturally without being too verbose. You can even chain asserts and negations, such as assert.not.equals. Nest blocks of tests with contextual descriptions using describe, and add tags to blocks so you can run arbitrary groups of tests.

An extensible assert library allows you to extend and craft your own assert functions specific to your case with method chaining. A modular output library lets you add on your own output format, along with the default pretty and plain terminal output, JSON with and without streaming, and TAP-compatible output that allows you to run busted specs within most CI servers. You can even register phrases for internationaliation with custom or built-in language packs.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000102 102 Bytes
busted-2.0.0.tar.gz 0000055002 53.7 KB
lua-busted.changes 0000001339 1.31 KB
lua-busted.spec 0000005716 5.58 KB
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1074032 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 6)
Automatic submission by obs-autosubmit
Comments 0
openSUSE Build Service is sponsored by