refactor(test): testutils

This commit is contained in:
Oleksandr Smirnov 2025-02-18 16:45:43 +02:00
parent bc48bd71f2
commit 1d45a443ff
No known key found for this signature in database
6 changed files with 72 additions and 30 deletions

View file

@ -5,10 +5,34 @@ local T = MiniTest.new_set {
hooks = {
post_once = child.stop,
pre_case = function()
child.restart { "-u", "scripts/minimal_init.lua" }
child.restart { "-u", t.mininit_path }
end,
},
}
T["comment"] = MiniTest.new_set {}
T["comment"]["should add comment to package"] = function()
MiniTest.skip "come back daddy"
end
T["comment"]["should add comment to struct"] = function()
MiniTest.skip "come back daddy"
end
T["comment"]["should add comment to function"] = function()
MiniTest.skip "come back daddy"
end
T["comment"]["should add comment to method"] = function()
MiniTest.skip "come back daddy"
end
T["comment"]["should add comment to interface"] = function()
MiniTest.skip "come back daddy"
end
T["comment"]["otherwise should add // above cursor"] = function()
MiniTest.skip "come back daddy"
end
return T