- Proposal: SDL-0125
- Author: Alexander Kutsan
- Status: Accepted
- Impacted Platforms: [Core]
Video streaming is a major feature of SDL. Currently it should be tested manually for each release. Testing of video streaming is rather complicated and expensive, and there is big probability of human mistakes during testing.
Currently ATF is able to stream data from mobile side, but not able to handle streaming from HMI side, and to check data is received and not corrupted.
ATF should provide ability to cover mentioned use cases related to video streaming.
Full video streaming feature support will provide ability to cover mentioned streaming use cases with automated tests and reduce efforts for manual testing.
Tests related to video streaming will be included into smoke SDL test cases and could be performed on each pull request.
Automatization of testing of video streaming use cases could reduce time consumption for testing video streaming.
In addition ATF will provide ability to create tests for complicated use cases like send requests, notifications, etc during streaming.
ATF should support reading data from pipe/socket and save it to file system. List of provided APIs to test script:
Parameters :
- Streaming source (pipe or socket)
- Count of bytes for event call : event with custom callback will be called after streaming some amount of bytes
Return value :
- Event that will be triggered on each "count of bytes" received or on closing port\pipe. Event callback should provide access to file with received data, count of received bytes and root cause of event.
N/A
Add additional components to ATF project, add additional API to ATF Facade. After implementation scripts that test videostreaming could be extended.
Do not test video streaming with automated test framework.