Instrumenting your Swift tests with RUM

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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

Compatibility

The CI Visibility - RUM integration is only 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

Swift tests and RUM

If you link dd-sdk-swift-testing for your UI tests and the application being tested is instrumented using RUM, your test results and their generated RUM browser sessions and session replays are automatically linked. A new RUM Sessions tab appears in the 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