feat(gotests): add generate all tests

docs(gotests): add generate all tests
This commit is contained in:
Smirnov Olexander 2022-06-21 17:35:28 +03:00
parent acd414d454
commit 70297f28e7
4 changed files with 18 additions and 0 deletions

View file

@ -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