Skip to content

Commit 0becacd

Browse files
committed
README
1 parent 871e766 commit 0becacd

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,47 @@ You may find that if you are re-running all previously executed test runs that y
127127
"Session is not reportable." If you wish to overwrite a previously reported session, add
128128
`REPORTABLE=true` to your environment.
129129

130+
### Marking Tests For Skipping
131+
132+
The file `manifests/key.yaml` is the single source of truth for whether a test exists, and whether it
133+
should or should not be skipped. The other files in `manifests/` are test lists. The schema for the key
134+
file is:
135+
136+
```yaml
137+
suite_name_which_is_the_folder_under_tests:
138+
test_file_without_the_dot_py: pass
139+
address_bar_and_search:
140+
test_thing_does_stuff:
141+
test_a_subtest_inside_this_file: pass
142+
test_another_thing:
143+
mac: pass
144+
win: unstable
145+
linux: pass
146+
tabs:
147+
test_tab_says_hi:
148+
test_clever_subtest_name:
149+
mac: unstable
150+
win: pass
151+
linux: pass
152+
```
153+
154+
Any value other than `pass` will skip the test or subtest (for the given OS if applicable). It is good
155+
practice to keep non-pass values limited. Good values are `unstable`, `deprecated`, `out-of-scope` etc.
156+
**Do not use `fail` for tests you wish to see pass again one day.** Future work will include testing
157+
items marked `fail` as xfail, and may implement `strict_xfail`, which will throw if tests pass.
158+
159+
The test lists in `manifests/` have the following schema:
160+
161+
```yaml
162+
suite_name_a:
163+
- test_name_b
164+
- test_name_c
165+
suite_name_d:
166+
- test_name_e
167+
```
168+
169+
We currently do not assume ma
170+
130171
### Manual Execution of Smoke Tests
131172

132173
To run the smoke tests manually against an arbitrary version of Firefox **where the installer or (for Linux)

0 commit comments

Comments
 (0)