gecko-dev/testing/extensions
Bianca Danforth c5fb7340c8 Bug 1517083 - Enable running custom tests on extension-based experiments; r=rhelmer,froydnj
Building off the work from Bug 1451159, this creates a new ./testing/extensions directory and adds it to the list of directories to check for moz.build files in ./toolkit/toolkit.mozbuild.

This will enable developers to run custom tests on their extensions locally and on the Try server by following the steps in the ./testing/extensions/README.txt file.

The ./testing/extension/moz.build file is required by the build system, but it will be overwritten with the developer's own moz.build file.

Differential Revision: https://phabricator.services.mozilla.com/D17568

--HG--
extra : moz-landing-system : lando
2019-02-06 06:21:43 +00:00
..
moz.build Bug 1517083 - Enable running custom tests on extension-based experiments; r=rhelmer,froydnj 2019-02-06 06:21:43 +00:00
README.txt Bug 1517083 - Enable running custom tests on extension-based experiments; r=rhelmer,froydnj 2019-02-06 06:21:43 +00:00

To run custom Mozilla tests on an extension (Bug 1517083):
1. Drop an extension XPI into testing/profiles/common/extensions (Bug 145119); this extension will be installed with the testing profile.
2. Drop a moz.build file in this directory that registers any relevant manifests for any tests to be run for the extension. This will overwrite the placeholder moz.build file in this directory.
3. Drop those tests into this directory.