Just output from the process is not always enough, especially in presence of a buffering problem #119.
The exit code is not reported anyhow for a core = luatest and core = app tests.
Examples:
-- test/app-luatest/foo_test.lua
local t = require('luatest')
local g = t.group()
g.after_all(function()
os.exit(1)
end)
g.test_foo = function()
t.assert_equals(1, 1)
end
Just output from the process is not always enough, especially in presence of a buffering problem #119.
The exit code is not reported anyhow for a
core = luatest
andcore = app
tests.Examples:
Let's run the luatest based test:
All the test cases are passed, but the test is failed. No any word regarding the reason of the fail.
Let's try the app test:
Quite similar. No information, just '[ fail ]'.