View Continuous Testing Test Runs in Test Optimization

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Mobile Application Testing is not supported on this Datadog site ().

Overview

Continuous Testing enables you to run Synthetic Monitoring tests within your CI/CD pipelines, automating software testing throughout your product’s lifecycle. Test Optimization provides a test-first view into your CI health by displaying important metrics and results from your tests.

You can use Test Optimization to view Continuous Testing test runs, giving you a unified overview of metrics and results from all your test frameworks, including Synthetic Monitoring, in one place.

View Continuous Testing test runs in Test Optimization

  1. Navigate to the Test Runs Explorer in Test Optimization.
  2. Filter the Test Framework facet to synthetics:
Test Optimization Test Runs explorer, filtered to synthetics framework facet

Use this feature to search, filter, and analyze Continuous Testing test runs, combining both Test Optimization and Continuous Testing metadata in a single view.

For example:

  • Use the Flaky, New Flaky, and Known Flaky facets to identify flaky test runs.
  • Use the Synthetics Teams facet to analyze test run status and performance by team.
  • Click Export and include the @test.name column to export a list of test runs and their names.

Select a Continuous Testing test run in the Test Optimization Explorer to view detailed information about that test run:

Test Optimization Test Runs details view

Use these tabs on the side panel:

  • Overview: Troubleshoot a flaky test by viewing the first and last commit it flaked.
  • History: Visualize past runs by status and branch.
  • Performance: Track the mean, minimum, maximum, p95, and trends for test run durations over time.

Viewing test runs

From the Test Optimization Explorer, you can jump to a test run in the Synthetic Monitoring page. Click View in Synthetics from the details panel of a test run on the Test Optimization page.

Test Optimization Test Runs details view, highlighting View in Synthetics button

Similarly, from the Synthetic Monitoring page, you jump to a test run in the Test Optimization Explorer. Click View in Test Optimization from the details panel of a test run on the Synthetic Monitoring page:

Synthetics Test Runs details view, highlighting View in Test Optimization button

Further Reading