Dev-sanity: Difference between revisions

Jump to navigation Jump to search
Line 30: Line 30:
= Developer Experience =
= Developer Experience =
== Running tests from tests.zip ==
== Running tests from tests.zip ==
[ahal to fill in]
A new mach bootstrap environment is created specifically for running in the context of a tests.zip. This will allow us to write mach commands that will get packaged as part of the package-tests make target. Developers downloading tests.zip (or packaging it from a local build) can now run |mach help| to perform test package related tasks (most likely running tests).
 
Currently only the mochitest mach command has been implemented, but other harnesses may follow suit shortly depending on resources and demand. Because there is no |mozbuild| module to work with, the mach command cannot automatically detect the firefox binary, it must be passed in via --appname. For the same reason, the mach command cannot resolve tests and automatically detect which flavors and subsuites exist in a particular directory like the in-tree version of the script does. Usage:
 
mach mochitest --appname path/to/firefox [path/to/test/dir]


== Test selection on try ==
== Test selection on try ==
Confirmed users
656

edits

Navigation menu