Skip to content

Commit

Permalink
Bug 1517083 - Enable running custom tests on extension-based experime…
Browse files Browse the repository at this point in the history
…nts; 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.

Differential Revision: https://phabricator.services.mozilla.com/D17568
  • Loading branch information
biancadanforth committed Feb 5, 2019
1 parent d56dccc commit dedbfe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/extensions/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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
3. Drop those tests into this directory
1 change: 1 addition & 0 deletions toolkit/toolkit.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ if CONFIG['ENABLE_TESTS']:
'/testing/modules',
'/testing/runtimes',
'/testing/web-platform',
'/testing/extensions',
]

# The file id utility requires breakpad libraries.
Expand Down

0 comments on commit dedbfe9

Please sign in to comment.