Make tests compatible with TestEZ, provide 'runTests' script

This commit is contained in:
Lucien Greathouse
2017-12-04 00:09:30 -08:00
parent eeff7cfd92
commit 88efdb5ba4
3 changed files with 5 additions and 1 deletions

View File

@@ -51,6 +51,6 @@ files["**/*.server.lua"] = {
std = "+plugin",
}
files["**/*-spec.lua"] = {
files["**/*.spec.lua"] = {
std = "+testez",
}

4
plugin/src/runTests.lua Normal file
View File

@@ -0,0 +1,4 @@
return function()
local TestEZ = require(script.Parent.Parent.TestEZ)
TestEZ.TestBootstrap:run(script.Parent)
end