Media/WebRTC/Testing
Jump to navigation
Jump to search
WebRTC Test System
We currently test WebRTC with two sets of tests:
- Standalone C++ unit and system tests.
- Full system mochitests.
C++ Unit Tests
The WebRTC code has extensive C++ unit and system tests based on the [| Google Test] framework. These tests live in two locations:
- media/mtransport — the mtransport generic transport subsystem and associated utilities
- media/webrtc/signaling/test — the signaling system and the media handling system
As usual, you can run them individually by doing:
make -C <directory>
Alternately, you can run a single C++ unit test by name, e.g.,
media/mtransport/test/ice_unittest
Some of the tests