You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
448 B

LuaUnit = require("luaunit")
assertEquals = LuaUnit.assertEquals
-- Add test suites to luaunit queue
require("Tests/Core/DatabaseValidation/TestNothing")
print("Running all tests")
-- Run all tests that have been queued and output results as TestAnything-formatted report
local exitCode = LuaUnit.run("--output", "TAP")
print()
print("Test suite finished with exit code " .. exitCode)
return function()
return exitCode
end