DevTools node tests should be runnable via `mach test`
Categories
(DevTools :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: ochameau, Unassigned)
References
(Blocks 1 open bug)
Details
As we start using more node tests, we should start looking into better integrating into existing mozilla-central tooling.
The DevTools node tests are currently not easily:
- "sheriffable", i.e. be able to disable a given test
- runnable
At least not as easy as the other tests suites of mozilla-central.
To be "sheriffable", we need some ini files like xpcshell.ini or browser.ini manifests.
To be runnable, we need some integration into mach
so that all necessary environment setup is installed and executed (node and yarn) and that mach
calls the right script to run the given test. We could start with a mach devtools-node-test
command or similar and then later integrate into mach test
.
Bug 1540655 demonstrates how to do most of that for puppeteer tests, which are also node tests.
Comment 1•5 years ago
|
||
Thanks Alex, I think these points are captured by bug dbg-node-tests. If we're missing something, we should create some new blocking bugs below it to help stay organized.
Updated•5 years ago
|
Description
•