mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add test collection
This commit is contained in:
16
test/test.script
Normal file
16
test/test.script
Normal file
@@ -0,0 +1,16 @@
|
||||
local deftest = require "deftest.deftest"
|
||||
|
||||
local tests = {
|
||||
-- Test list
|
||||
}
|
||||
|
||||
|
||||
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