Mobile/Fennec Unittests/NewTests: Difference between revisions

 
Line 46: Line 46:
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.
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 [[people.mozilla.org/~jmaher/dom_inspector-2.0.3.xpi DOM inspector]] (NOTE: this is a hacked up 2.0.3 version to install in fennec).  This doesn't work well on mobile devices, but running on a desktop build will be very powerful.  In order to use this in Fennec, you need to install it, restart, then type CTRL+SHIFT+I (similar to [[http://elvis314.wordpress.com/2009/05/20/using-dom-inspector-with-fennec/ these instructions]].)
While creating tests, I highly recommend installing [[http://people.mozilla.org/~jmaher/dom_inspector-2.0.3.xpi DOM inspector]] (NOTE: this is a hacked up 2.0.3 version to install in fennec).  This doesn't work well on mobile devices, but running on a desktop build will be very powerful.  In order to use this in Fennec, you need to install it, restart, then type CTRL+SHIFT+I (similar to [[http://elvis314.wordpress.com/2009/05/20/using-dom-inspector-with-fennec/ these instructions]].)


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

edits