luaunit icon indicating copy to clipboard operation
luaunit copied to clipboard

LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be...

Results 18 luaunit issues
Sort by recently updated
recently updated
newest added

``` Making target test for debian/lua5.1.dh-lua.conf # tests /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. Copying luaunit.lua in /build/lua-unit-3.4/5.1-unit for test ****************** lua dynamic...

Hi, I would like to know how and why you use luaunit ! If you can, please also list the following information : - since when you have been using...

Thank you for writing luaunit -- it's very simple to use. It seems that the timings for the test runs are inaccurate -- I believe this is due to the...

Hi, I'm using table driven tests, where all input and expected result are in a table. However, in luaunit, it's a single case, not one case per entry in the...

Today, luaunit supports setup/teardown to be executed before and after each test. Sometimes, it's convenient to also have per suite setup/teardown function and per class setup/teardown functions. Proposal : -...

enhancement

This is eye-candy based on the existing "text" class, augmented by ANSI control sequences for different colors. To use it, request "color" output, e.g.: `./run_functional_tests.lua -v --output color`

It would be nice to add a "data provider" like in [phpunit](https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers)

enhancement

When comparing very long strings where only a small part of it is different it is quite difficult to see in the output what the difference is. - It may...

enhancement

When working with luajit, a function will have a different implementation whether it is run for the first time or jitted if run enough number of times. Experiences from people...

enhancement

I'd like a way to auto-calculate the margin for `assert_almost_equals()` based on lua's default `tostring()` decimal precision. This lets you copy and paste the result of a known good calculation...