feat(gotests): add generate all tests
docs(gotests): add generate all tests
This commit is contained in:
parent
acd414d454
commit
70297f28e7
4 changed files with 18 additions and 0 deletions
|
|
@ -45,4 +45,13 @@ function M.func_test(parallel)
|
|||
add_test(cmd_args)
|
||||
end
|
||||
|
||||
function M.all_tests(parallel)
|
||||
local cmd_args = { "-all" }
|
||||
if parallel then
|
||||
table.insert(cmd_args, "-parallel")
|
||||
end
|
||||
|
||||
add_test(cmd_args)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue