LuaUnit
Contents:
LuaUnit
More details
LuaUnit successes
Contributors
Installation
Getting started with LuaUnit
Reference documentation
Developing LuaUnit
Annexes
LuaUnit
<no title>
View page source
Contents:
LuaUnit
More details
LuaUnit successes
Contributors
Installation
History
Version 3.5 - 26 March 2026
Version 3.4 - 02 March 2021
Version 3.3 - 6. March 2018
Version 3.2 - 12. Jul 2016
Version 3.1 - 10 Mar. 2015
Version 3.0 - 9. Oct 2014
Version 2.0
Version 1.5 - 8. Nov 2012
Version 1.4 - 26. Jul 2012
Version 1.3 - 30. Oct 2007
Version 1.2 - 13. Jun 2005
Version 1.1
Getting started with LuaUnit
Setting up your test script
Writing tests
Grouping tests, setup/teardown functionality
Using the command-line
Conclusion
Reference documentation
Index and Search page
Command-line options
Output formats
Other options
Flexible test selection
Test naming
LuaUnit runner object
Skipping and ending test
Test skipping
Force test failing
Force test success
Output formats details
Text format
JUNIT format
TAP format
NIL format
Test collection and execution process
Test collection
Test execution
Assertions functions
Equality assertions
Value assertions
String assertions
Error assertions
Type assertions
Table assertions
Scientific computing and LuaUnit
EPS
constant
Pretty printing
Enabling global or module-level functions
Variables controlling LuaUnit behavior
luaunit.ORDER_ACTUAL_EXPECTED
luaunit.PRINT_TABLE_REF_IN_ERROR_MSG
luaunit.STRIP_EXTRA_ENTRIES_IN_STACK_TRACE
luaunit.VERSION
Developing LuaUnit
Development ecosystem
Contributing
Running unit-tests
Running functional tests
Modifying reference files for functional tests
Typical failures for functional tests
Using doit.py
Process of releasing a new version of LuaUnit
Annexes
Annex A: More on table printing
Annex B: Comparing tables with keys of type table
Annex C: Source code of example
Annex D: BSD License