A note about browser-chrome mochitests

Jared Wein jwein at mozilla.com
Thu Sep 19 06:12:52 UTC 2013

I just pushed[1] to the fx-team repo a patch that moves the browser-chrome mochitests from /browser/base/content/tests/* to /browser/base/content/tests/general/*.

Moving the tests in browser/base/content/tests to browser/base/content/tests/general will shorten the amount of time needed to just run the "general" tests. Currently when running `mach mochitest-browser browser/base/content/test` the social and newtab tests run as well, which adds a considerable amount of time to the local test run.

The newtab and social test directories will remain as direct children of browser/base/content/test.

With this bug[2] fixed, the directory structure should look like:

If there is any potential to move groups of tests that focus on specific functionality then those can move to their own specific folder in future bugs.


[1] https://hg.mozilla.org/integration/fx-team/rev/d558e1102e02
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=917887

More information about the firefox-dev mailing list