QA/Automation/Projects/WebRTC: Difference between revisions
Line 28: | Line 28: | ||
==Details== | ==Details== | ||
The code of WebRTC is in an early state and | 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. To execute the WebRTC tests you can either | ||
* Build Firefox yourself | |||
* Download the latest nightly build and tests | |||
===Build Firefox=== | ===Build Firefox=== | ||
1. To build your own version of Firefox, setup the build system by following the steps outlined on the '[https://developer.mozilla.org/en-US/docs/Simple_Firefox_build | 1. To build your own version of Firefox, setup the build system by following the steps outlined on the MDN page '[https://developer.mozilla.org/en-US/docs/Simple_Firefox_build Simple Firefox build]'. | ||
2. Execute the WebRTC mochitests | |||
$ | $ ./mach mochitest-plain dom/media/test/mochitest/ | ||
=== | ===Download Firefox and tests=== | ||
1. Download the latest Firefox nightly build for your platform plus the matching *.tests.zip file from [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/ Firefox Nightly Latest] |
Revision as of 17:48, 30 April 2014
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. To execute the WebRTC tests you can either
- Build Firefox yourself
- Download the latest nightly build and tests
Build Firefox
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
$ ./mach mochitest-plain dom/media/test/mochitest/
Download Firefox and tests
1. Download the latest Firefox nightly build for your platform plus the matching *.tests.zip file from Firefox Nightly Latest