Skip to content

Commit 0b75909

Browse files
committed
test: Add selene unit test configuration
1 parent 4ea04fa commit 0b75909

File tree

2 files changed

+70
-1
lines changed

2 files changed

+70
-1
lines changed

selene.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
std = "roblox"
1+
std = "roblox+testez"

testez.toml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# TestEZ
2+
# https://gist.github.com/Nezuo/65af3108a6214a209ca4e329e22af73c
3+
4+
[[afterAll.args]]
5+
type = "function"
6+
7+
[[afterEach.args]]
8+
type = "function"
9+
10+
[[beforeAll.args]]
11+
type = "function"
12+
13+
[[beforeEach.args]]
14+
type = "function"
15+
16+
[[describe.args]]
17+
type = "string"
18+
19+
[[describe.args]]
20+
type = "function"
21+
22+
[[describeFOCUS.args]]
23+
type = "string"
24+
25+
[[describeFOCUS.args]]
26+
type = "function"
27+
28+
[[describeSKIP.args]]
29+
type = "string"
30+
31+
[[describeSKIP.args]]
32+
type = "function"
33+
34+
[[expect.args]]
35+
type = "any"
36+
37+
[[FIXME.args]]
38+
type = "string"
39+
required = false
40+
41+
[FOCUS]
42+
args = []
43+
44+
[[it.args]]
45+
type = "string"
46+
47+
[[it.args]]
48+
type = "function"
49+
50+
[[itFIXME.args]]
51+
type = "string"
52+
53+
[[itFIXME.args]]
54+
type = "function"
55+
56+
[[itFOCUS.args]]
57+
type = "string"
58+
59+
[[itFOCUS.args]]
60+
type = "function"
61+
62+
[[itSKIP.args]]
63+
type = "string"
64+
65+
[[itSKIP.args]]
66+
type = "function"
67+
68+
[SKIP]
69+
args = []

0 commit comments

Comments
 (0)