Home / LUAUNIT_V3_4
Name Modified Size InfoDownloads / Week
Parent folder
luaunit-3.4.tar.gz 2021-03-04 296.8 kB
rock-luaunit-3.4.zip 2021-03-04 278.2 kB
luaunit-3.4.zip 2021-03-04 366.5 kB
LuaUnit v3.4 source code.tar.gz 2021-03-03 127.7 kB
LuaUnit v3.4 source code.zip 2021-03-03 170.8 kB
README.md 2021-03-03 1.2 kB
Totals: 6 Items   1.2 MB 0

I am happy to announce a new release of LuaUnit v3.4

Version 3.4 - 02 March 2021

  • support for Lua 5.4
  • assertAlmostEquals() works also on tables and nested structures
  • choose test output style with environment variable LUAUNIT_OUTPUT
  • setOutputType() accepts the xml filename as second argument when using the format junit
  • improve printing of table information in case of cycles
  • add ability to skip tests with skip() and skipIf()
  • detect attempts to exit the test suite before it is finished running
  • add assertErrorMsgContentEquals() to validate exactly any error message
  • filter out some stack entries when printing assertions (useful when embedding LuaUnit inside another test layer) with STRIP_EXTRA_ENTRIES_IN_STACK_TRACE
  • add assertTableContains() and assertNotTableContains() to verify the presence of a given value within a table
  • remove option TABLE_EQUALS_KEYBYCONTENT, it did not make sense
  • bugfix:
    • assertIs()/assertNotIs() deals better with protected metatables
    • assertEquals() deals better with tables containing cycles of different structure
    • fix table length comparison for table returning inconsistent length
Source: README.md, updated 2021-03-03