Instrumenting your Swift tests with RUM

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

CI Visibility is not available in the selected site () at this time.

Overview

Ensure that Test Visibility 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.0
  • dd-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 Visibility test detail side panel.

Browser Session Tab in Test Detail

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.

Browser Session Tab Errors in Test Detail

Further reading