-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Description
So far we have IT foundation laid out and some basic tests as proof of concept of foundation. We now need full fledged integration test cases.
General categories of tests we need to cover
Device
- Successful Initialization/Release of RCDevice using regular values for all fields (and domain, not ip address) and successful release.
- Similar but using TLS for signaling
Calls
- Add permissions for RECORD_AUDIO and USE_SIP, CAMERA and make regular audio call that establishes media path properly using cleartext TCP for signaling.
- Similar but make registrar-less call
- Similar but using encrypted signaling
- Similar with video (remember that we are talking to Restcomm, so no actual video on the other side possible), still call should work properly with audio.
- Similar with TLS for signaling
- Receive audio call (triggered via REST API) and answer it normally
Messages
- Send a successful text message. Assert that we got 200 OK from Restcomm
- Receive a message from Restcomm
We also need to assert that:
- Media was properly transferred using PeerConnection.getStats() internally and exposing it
- Media was setup timely after the user called RCDevice.connect(). Let's start with 5-10 seconds and we can decrease until we reach 1-3 seconds max