Instrumenting your Swift tests with RUM
CI Visibility is not available in the selected site () at this time.
Overview
Ensure that Test Optimization is already set up for Swift.
Compatibility
The CI Visibility - RUM integration is available for these versions of dd-sdk-swift-testing
and dd-sdk-ios
:
dd-sdk-swift-testing
>= 2.0.0dd-sdk-ios
>= 1.10.0
Connect Swift tests and RUM
If you link dd-sdk-swift-testing
for your UI tests and the application being tested is instrumented using Real User Monitoring, your test results and their generated RUM browser sessions and session replays are automatically linked.
A RUM Sessions tab appears in the Test Optimization test detail side panel.
The RUM session has all the data that RUM normally collects so you can debug potential issues in your iOS tests, such as user name or unexpected errors.
Further reading
Additional helpful documentation, links, and articles: