WritingFennecTests: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Some useful pages = * [https://wiki.mozilla.org/User:MarkFinkle/RunningTests mfinkle's page] * [https://wiki.mozilla.org/User_talk:Wesj/Tests wesj's page]") |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= What kinds of tests should be written = | |||
* '''xpcshell''' tests, can properly test e10s stuff | |||
**See example tests in | |||
*** [http://mxr.mozilla.org/mozilla-central/source/toolkit/components/contentprefs/tests/unit_ipc/ contentprefs] | |||
*** Permissions messaging - {{bug|599428}} | |||
** Tips: | |||
*** Synchronize child&parent using the process message managers. | |||
* TODO: other kinds | |||
= Issues to be aware of = | |||
* For xpcshell tests, use a GTK build, not Qt - {{bug|601267}} | |||
= Relation to Firefox tests = | |||
* xpcshell tests should work as-is in both Firefox and Fennec | |||
* mochitests should be separate? | |||
* reftests? | |||
= Some useful pages = | = Some useful pages = | ||
* [https://wiki.mozilla.org/Mobile/Fennec/GettingStartedWithTests Getting Started With Tests] | |||
* [https://wiki.mozilla.org/User:MarkFinkle/RunningTests mfinkle's page] | * [https://wiki.mozilla.org/User:MarkFinkle/RunningTests mfinkle's page] | ||
* [https://wiki.mozilla.org/User_talk:Wesj/Tests wesj's page] | * [https://wiki.mozilla.org/User_talk:Wesj/Tests wesj's page] | ||
Latest revision as of 22:20, 4 October 2010
What kinds of tests should be written
- xpcshell tests, can properly test e10s stuff
- See example tests in
- contentprefs
- Permissions messaging - bug 599428
- Tips:
- Synchronize child&parent using the process message managers.
- See example tests in
- TODO: other kinds
Issues to be aware of
- For xpcshell tests, use a GTK build, not Qt - bug 601267
Relation to Firefox tests
- xpcshell tests should work as-is in both Firefox and Fennec
- mochitests should be separate?
- reftests?