QA/Browser Technologies/Mobile Unit Testing Addon
Contents
General Information
Project: | Mobile Unit Testing Addon |
Developers: | Martijn Wargers (Lead) (:mw22), Aaron Train (:AaronMT) |
Team Assistance: | n/a |
Running unit tests should be as easy and doable by any interested tester. No complicated setup routines or pre-requisites should stop anyone by successfully running exiting unit tests in their Mobile browser. This project aim to eliminate that burden by allowing a tester to run unit tests with the tap of a button.
Mobile Unit Testing Addon Platform
- EtherPad for brainstorming and discussions
- Documentation
- FAQ
Mobile Unit Testing Addon Production
Resources
- Zippity - Test Harness Add-on
- Grafxbot Repository
- Mozilla-Central Reftests
- Dom-level1-core mochitests
- Reftest extension
- Special Powers
Team Notes
Martijn (:mw22)
What do we need? - binary extension grafxbot? - zippity server?
grafx bot testing harness mochitest
test harness talos tests take a javascript file, run as a browser-chrome test, inject unit tests assertion specialpowers working is difficult, disabling/reenabling is hard
what info do we need from the phones
- retreive gfx hardware, ditch the hardware component from grafxbot
It needs a different UI
- reporting to django mysql database, web: http://brasstacks.mozilla.com/resultserv/data/results/f880a3e6-aabb-4ef0-aba0-6baa0a53bae0 example
- website in the browser
- mfinkle sanity test on the server
- mfinkle
- zippity based on google app engine - no webpage setup to view the data - most difficult issue: getting mochitest framework working - mochitests need different view for data (need server side patch) - zippity should be able to scale
- joel packaged mochikit.jar (340kb) - test bundle is 1.35 MB
we don't want to have bad test that crash the phone
- run mochitest-plain remotely
jmaher: what extension - add to test harness extension install extension local at the least, results server
jmaher: dom-level-1, dom-level-2 core.
too small window Fennec for reftests, dougt wrote a patch for that.
make documentation for automation that I mailed to AaronMT
put it on a wiki page, not on scrumpad - draft ready by the end of the week. (tony wants to talk about it in Romania)
Mochitest: dom-level-1, dom-level-2 and mochitest-plain
reftests: border-radius
Aaron (:AaronMT)