@@ -8,43 +8,51 @@ The test filename is significant in determining the type of test it
8
8
contains, and enabling specific optional features. This page documents
9
9
the various flags avaiable and their meaning.
10
10
11
+
11
12
### Test Type
12
13
13
14
These flags must be the last element in the filename before the
14
15
extension e.g. ` foo-manual.html ` will indicate a manual test, but
15
16
` foo-manual-other.html ` will not. Unlike test features, test types
16
17
are mutually exclusive.
17
18
18
- <dl >
19
- <dt >`-manual`
20
- <dd ><p >Indicates that a test is a non-automated test.
21
- <dt >`-support`
22
- <dd ><p >Indicates that a file is not a test but a support file.
23
- Not required for files in a directory called `resources`,
24
- `tools` or `support`.
25
- <dt >`-visual`
26
- <dd ><p >Indicates that a file is a visual test.
27
- </dl >
19
+
20
+ ` -manual `
21
+ : Indicates that a test is a non-automated test.
22
+
23
+ ` -support `
24
+ : Indicates that a file is not a test but a support file. Not
25
+ required for files in a directory called ` resources ` , ` tools ` or
26
+ ` support ` .
27
+
28
+ ` -visual `
29
+ : Indicates that a file is a visual test.
30
+
28
31
29
32
### Test Features
30
33
31
34
These flags are preceded by a ` . ` in the filename, and must
32
35
themselves precede any test type flag, but are otherwise unordered.
33
36
34
- <dl >
35
- <dt >`.https`
36
- <dd ><p >Indicates that a test is loaded over HTTPS.
37
- <dt >`.sub`
38
- <dd ><p >Indicates that a test uses the
39
- <a href="https://wptserve.readthedocs.io/en/latest/pipes.html#sub">
40
- server-side substitution</a> feature.
41
- <dt >`.window`
42
- <dd ><p >(js files only) Indicates that the file generates a test in
43
- which it is run in a Window environment.
44
- <dt >`.worker`
45
- <dd ><p >(js files only) Indicates that the file generates a test in
46
- which it is run in a dedicated worker environment.
47
- <dt >`.any`
48
- <dd ><p >(js files only) Indicates that the file generates tests in
49
- which it is run in Window and dedicated worker environments.
50
- </dl >
37
+
38
+ ` .https `
39
+ : Indicates that a test is loaded over HTTPS.
40
+
41
+ ` .sub `
42
+ : Indicates that a test uses the [ server-side substitution] [ ]
43
+ feature.
44
+
45
+ ` .window `
46
+ : (js files only) Indicates that the file generates a test in which
47
+ it is run in a Window environment.
48
+
49
+ ` .worker `
50
+ : (js files only) Indicates that the file generates a test in which
51
+ it is run in a dedicated worker environment.
52
+
53
+ ` .any `
54
+ : (js files only) Indicates that the file generates tests in which it
55
+ is run in Window and dedicated worker environments.
56
+
57
+
58
+ [ server-side substitution ] : https://wptserve.readthedocs.io/en/latest/pipes.html#sub
0 commit comments