Skip to content

Commit 6e265d5

Browse files
committed
Test fix
1 parent 9e759b6 commit 6e265d5

File tree

13 files changed

+22
-33
lines changed

13 files changed

+22
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: rojo build default.project.json -o test.rbxl
6363

6464
- name: Run tests
65-
run: run-in-roblox --place test.rbxl --script ci.lua > test-out.txt
65+
run: run-in-roblox --place test.rbxl --script ci\\unit.server.lua > test-out.txt
6666
continue-on-error: true
6767
timeout-minutes: 3
6868

TEST.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Testing requires Python, Wally, Rojo, and Roblox Studio.
44

55
1. Run `python build_tests.py` or `python build_tests.py watch`
6-
2. Run `rojo`
6+
2. Run `rojo` against `test.project.json`
77
3. Sync project into a new Roblox Studio place
88
4. Run the Roblox Studio place
99
5. Check output window for test status

ci.lua renamed to ci/unit.server.lua

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,6 @@ print("Running unit tests...")
33
local ReplicatedStorage = game:GetService("ReplicatedStorage")
44
local TestEZ = require(ReplicatedStorage.Test.Packages.TestEZ)
55

6-
-- local tests = {}
7-
-- for _,testFolder in ipairs(TestService.modules:GetChildren()) do
8-
-- local name = testFolder.Name:match("(.+)_test$")
9-
-- local module = testFolder:FindFirstChild(name)
10-
-- if module then
11-
-- table.insert(tests, module)
12-
-- else
13-
-- print("Failed to find module within " .. testFolder.Name)
14-
-- end
15-
-- end
16-
17-
-- TestEZ.TestBootstrap:run(tests)
18-
196
-- Clear out package test files
207
for _,testFolder in ipairs(ReplicatedStorage.Test.modules:GetChildren()) do
218
local index = testFolder:FindFirstChild("_Index")

modules/component/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local Component = require(script.Parent)

modules/enum-list/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local EnumList = require(script.Parent)

modules/option/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local Option = require(script.Parent)

modules/ser/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local Ser = require(script.Parent)

modules/signal/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
local function AwaitCondition(predicate, timeout)
42
local start = os.clock()
53
timeout = (timeout or 10)

modules/symbol/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local Symbol = require(script.Parent)

modules/table-util/init.spec.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
print("Running test for " .. script.Parent.Name)
2-
31
return function()
42

53
local TableUtil = require(script.Parent)

0 commit comments

Comments
 (0)