mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Add tests for drag component
This commit is contained in:
19
test/test.gui_script
Normal file
19
test/test.gui_script
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
Reference in New Issue
Block a user