Mobile/Fennec Unittests/NewTests: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:
== Creating and Debugging ==
== Creating and Debugging ==


Creating a browser-chrome test is pretty much pure javascript that runs inside of chrome (for access to xul elements and full privilege content) extension.  We run this via the mochitest harness.
Currently we have a set of [[http://mxr.mozilla.org/mobile-browser/source/chrome/tests/ tests developed]], and all future tests should go in the same location.
To create a test, either add a new test case into an existing file or start with a new file.  Please use existing tests cases as an example of how to add tests and access components.
While creating tests, I highly recommend installing DOM inspector.  This doesn't work well on mobile devices, but running on a desktop build will be very powerful.


== List of Tests We Need ==
== List of Tests We Need ==
Confirmed users
3,376

edits

Navigation menu