QA/Automation/Projects/WebRTC: Difference between revisions

Line 28: Line 28:


==Details==
==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
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 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 MDN page '[https://developer.mozilla.org/en-US/docs/Simple_Firefox_build 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
2. Execute the WebRTC mochitests (after buiding locally):
     $ ./mach mochitest-plain dom/media/test/mochitest/
     $ ./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]
Confirmed users
147

edits