Open
Bug 1510677
Opened 7 years ago
Updated 3 years ago
[meta] Migrate tests to xpcshell tests instead of mochitest where it makes sense
Categories
(Firefox :: Normandy Client, enhancement)
Firefox
Normandy Client
Tracking
()
NEW
People
(Reporter: leplatrem, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: meta)
I think that running browser tests is overkill when testing Javascript code like RecipeRunner.
Furthermore, running a single test suite like:
mach mochitest -f browser toolkit/components/normandy/test/browser/browser_RecipeRunner.js
...takes 40s to complete :( ...has several thousands lines of output, ... and the test browser window is annoying.
Comment 1•7 years ago
|
||
> ... and the test browser window is annoying.
Try `./mach mochitest --headless` instead. I think it runs faster, and no annoying browser window.
That being said, many of our tests could definitely be rewritten as xpcshell tests. Some of the early tests (I'm thinking of Heartbeat) need to be mochitests, but most of the other tests are written as mochitests due to momentum.
Updated•6 years ago
|
Summary: Migrate some tests to xpcshell tests instead of mochitest → [meta] Migrate tests to xpcshell tests instead of mochitest where it makes sense
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•