Mobile/Fennec Unittests
< Mobile
Jump to navigation
Jump to search
This is a basic page that will be a central spot to learn more about unit tests on Fennec.
General
Fennec will run all the unittests that come with Firefox with few exceptions. We are interested in:
- Mochitest
- Mochitest-Chrome
- Mochitest-Browser-Chrome
- Reftest
- Crashtest
- XPCShell
In general there will be some tests that are unique for Fennec and will not run on Firefox. For example automating the tab strip, bookmark manager or just panning and zoom.
We will store all the Fennec specific unittests in mobile-browser/tests. As tests arise, we will separate these based on type. For example:
- mobile-browser/tests/browser <- for browser chrome (the majority will live here)
- mobile-browser/tests/mochitest <- for plain mochitest
- mobile-browser/tests/unit <- for xpcshell
On the flip side there are specific tests in Firefox that we will want to exclude from Fennec.