Closed
Bug 1720335
Opened 4 years ago
Closed 3 years ago
Add setup abstraction that interacts correctly with `.only` and `.skip`
Categories
(Testing :: Mochitest, defect, P3)
Tracking
(firefox98 fixed)
RESOLVED
FIXED
98 Branch
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Although we have registerCleanupFunction, we do not have an equivalent for test setup.
Right now .only() doesn't always work right, because it doesn't take into account setup tasks as, well, required setup.
If we had appropriate setup functions, this would work right.
We could automatically transform the thousand+ "setup" functions that are in the tree already using eslint.
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
| Assignee | ||
Updated•3 years ago
|
Summary: Add setup abstraction that interacts correctly with `.only` and `.skip`, and use lint rule to transform existing setup methods → Add setup abstraction that interacts correctly with `.only` and `.skip`
Comment 2•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•