|
1 | 1 | ---
|
2 | 2 | title: Test Coverage
|
3 |
| -description: Evaluate your testing suite's coverage of browser actions and API endpoints. |
| 3 | +description: Evaluate your testing suite's coverage of browser actions. |
4 | 4 | aliases:
|
5 | 5 | - /synthetics/dashboards/testing_coverage
|
6 | 6 | - /synthetics/test_coverage
|
7 | 7 | further_reading:
|
8 | 8 | - link: 'https://www.datadoghq.com/blog/test-coverage-monitoring-datadog/'
|
9 | 9 | tag: 'Blog'
|
10 | 10 | text: 'Track your test coverage with Datadog RUM and Synthetic Monitoring'
|
11 |
| -- link: 'https://www.datadoghq.com/blog/api-test-coverage-monitoring-datadog-synthetics/' |
12 |
| - tag: 'Blog' |
13 |
| - text: 'Improve your API test coverage with Datadog Synthetic Monitoring' |
14 | 11 | - link: '/synthetics/browser_tests'
|
15 | 12 | tag: 'Documentation'
|
16 | 13 | text: 'Learn about Synthetic browser tests'
|
@@ -97,61 +94,11 @@ Add the most popular sections of your application to a new or existing browser t
|
97 | 94 | [8]: https://app.datadoghq.com/rum/explorer/
|
98 | 95 | [9]: /continuous_testing/
|
99 | 96 |
|
100 |
| -{{% /tab %}} |
101 |
| -{{% tab "API Endpoints" %}} |
102 |
| - |
103 |
| -The [**Test Coverage** page][1] provides actionable insight into the overall testing coverage of your [API endpoints][2]. It uses [data collected from the Software Catalog][2] and [spans from APM][3]. |
104 |
| - |
105 |
| -{{< img src="synthetics/test_coverage/api_endpoints.png" alt="Test Coverage page with an Overview section, Untested Actions section, and a Tested Actions section" style="width:100%" >}} |
106 |
| - |
107 |
| -The Test Coverage page presents the following information: |
108 |
| - |
109 |
| -- The overall coverage of your API endpoints |
110 |
| -- The percentage of tested API endpoints |
111 |
| -- The number untested API endpoints with the highest request count, sorted by error rate |
112 |
| -- The percentage of tested API endpoints with API tests that have not been tested in CI |
113 |
| -- The number of untested API endpoints that have [APM monitors][4] |
114 |
| - |
115 |
| -## Investigate test coverage for API endpoints |
116 |
| - |
117 |
| -Maintain a comprehensive, accurate testing suite by resolving issues that are causing your Synthetic tests to fail and your API endpoints to experience poor performance. |
118 |
| - |
119 |
| -To identify areas in your testing suite where you should create API tests: |
120 |
| - |
121 |
| -1. Click the **Untested** checkbox in the **API overall coverage** section. |
122 |
| -2. Investigate the endpoint side panel to see all the passing or failing tests that have been created for the endpoint. The **Dependency Map** displays upstream issues that may be contributing to your endpoint's poor performance, and downstream dependencies that are affected. |
123 |
| -3. Identify gaps in your API test coverage by examining the information presented in the following sections: |
124 |
| - |
125 |
| - **API Overall Coverage** |
126 |
| - : Displays all of the untested endpoints within your tag scope. |
127 |
| - |
128 |
| - **Performance** |
129 |
| - : Displays the most engaged, untested endpoints with significant error rates. |
130 |
| - |
131 |
| - **Tested in the CI** |
132 |
| - : Displays the endpoints that are currently being tested in your CI pipelines. |
133 |
| - |
134 |
| - **APM Monitors** |
135 |
| - : Displays the endpoints that are untested but have active monitors on them. |
136 |
| - |
137 |
| -For more information about the data displayed, see [APM Metrics][5]. |
138 |
| - |
139 |
| -## Add tests |
140 |
| - |
141 |
| -To create a test, click **+ New Test** on the top right of the [Test Coverage page][1]. You can run tests [directly in your CI/CD pipelines][6] to ensure no regressions occur before releasing code in production. |
142 |
| - |
143 |
| -[1]: https://app.datadoghq.com/synthetics/test-coverage/api |
144 |
| -[2]: /api_catalog/monitor_apis/ |
145 |
| -[3]: /tracing/ |
146 |
| -[4]: /monitors/types/apm |
147 |
| -[5]: /tracing/metrics/ |
148 |
| -[6]: /continuous_testing/ |
149 |
| - |
150 | 97 | {{% /tab %}}
|
151 | 98 | {{< /tabs >}}
|
152 | 99 |
|
153 | 100 | ## Further Reading
|
154 | 101 |
|
155 | 102 | {{< partial name="whats-next/whats-next.html" >}}
|
156 | 103 |
|
157 |
| -[1]: https://app.datadoghq.com/synthetics/test-coverage/browser |
| 104 | +[1]: https://app.datadoghq.com/synthetics/test-coverage/browser |
0 commit comments