test: add boilerpates
This commit is contained in:
parent
69c51692e7
commit
afae6dbb04
3 changed files with 42 additions and 0 deletions
14
spec/integration/comment_test.lua
Normal file
14
spec/integration/comment_test.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
local t = require "spec.testutils"
|
||||||
|
|
||||||
|
local child = MiniTest.new_child_neovim()
|
||||||
|
local T = MiniTest.new_set {
|
||||||
|
hooks = {
|
||||||
|
post_once = child.stop,
|
||||||
|
pre_case = function()
|
||||||
|
child.restart { "-u", "scripts/minimal_init.lua" }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
T["comment"] = MiniTest.new_set {}
|
||||||
|
|
||||||
|
return T
|
||||||
14
spec/integration/gotests_test.lua
Normal file
14
spec/integration/gotests_test.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
local t = require "spec.testutils"
|
||||||
|
|
||||||
|
local child = MiniTest.new_child_neovim()
|
||||||
|
local T = MiniTest.new_set {
|
||||||
|
hooks = {
|
||||||
|
post_once = child.stop,
|
||||||
|
pre_case = function()
|
||||||
|
child.restart { "-u", "scripts/minimal_init.lua" }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
T["gotest"] = MiniTest.new_set {}
|
||||||
|
|
||||||
|
return T
|
||||||
14
spec/integration/impl_test.lua
Normal file
14
spec/integration/impl_test.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
local t = require "spec.testutils"
|
||||||
|
|
||||||
|
local child = MiniTest.new_child_neovim()
|
||||||
|
local T = MiniTest.new_set {
|
||||||
|
hooks = {
|
||||||
|
post_once = child.stop,
|
||||||
|
pre_case = function()
|
||||||
|
child.restart { "-u", "scripts/minimal_init.lua" }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
T["impl"] = MiniTest.new_set {}
|
||||||
|
|
||||||
|
return T
|
||||||
Loading…
Add table
Add a link
Reference in a new issue