QA/Automation/Projects/WebRTC
Overview
"WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple Javascript APIs. The WebRTC components have been optimized to best serve this purpose."
To ensure that the code quality of WebRTC in Firefox is in an overall good shape, automated tests have to be written. Those tests will be executed by the Mochitest framework on a per check-in basis.
Name: | WebRTC tests |
Leads: | Nils Ohlmeier |
Contributors: | n/a |
Repository: | http://hg.mozilla.org/mozilla-central/file/default/dom/media/tests |
Tracking Bug: | bug 749522 |
Etherpad: | http://etherpad.mozilla.com:9000/automation-webrtc |
Details
The code of WebRTC is still in an early state as the standards around WebRTC are not finalized yet. The WebRTC code and its tests are part of the official Firefox build since version 22. So all the relevant code can be found in mozilla-central. If you want to develop test cases for WebRTC please follow these steps:
Build Firefox and WebRTC Tests
1. To build your own version of Firefox, setup the build system by following the steps outlined on the MDN page 'Simple Firefox build'.
2. Execute the WebRTC mochitests (after buiding locally):
$ ./mach mochitest-plain dom/media/test/mochitest/