mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
20 lines
407 B
Lua
20 lines
407 B
Lua
local deftest = require("deftest.deftest")
|
|
|
|
local tests = {
|
|
-- Test list
|
|
require("test.tests.test_button"),
|
|
require("test.tests.test_hover"),
|
|
require("test.tests.test_drag"),
|
|
}
|
|
|
|
|
|
function init(self)
|
|
print('[DefTest]: Init of DefTest')
|
|
for i = 1, #tests do
|
|
deftest.add(tests[i])
|
|
end
|
|
|
|
local is_report = (sys.get_config("test.report") == "1")
|
|
deftest.run({ coverage = { enabled = is_report } })
|
|
end
|