QA/Automation/Projects/WebRTC: Difference between revisions

From MozillaWiki
< QA‎ | Automation‎ | Projects
Jump to navigation Jump to search
No edit summary
Line 30: Line 30:
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:
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===
===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 '[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 (after buiding locally):
2. Execute the WebRTC mochitests (after buiding locally):
     $ ./mach mochitest-plain dom/media/test/mochitest/
     $ ./mach mochitest-plain dom/media/test/mochitest/
==Test Network Setups==

Revision as of 20:58, 6 May 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. 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/

Test Network Setups