Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/en/code_coverage/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ algolia:
tags: ["code coverage"]
---

{{< callout url="http://datadoghq.com/product-preview/code-coverage/" >}}
Code Coverage is in Preview. This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated. Complete the form to request access for the new Code Coverage product.
{{< /callout >}}
<div class="alert alert-info">
This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated.
</div>

[Code Coverage][1] lets you upload coverage reports to Datadog, visualize aggregated coverage data for pull requests, and block merges based on configurable coverage thresholds.

Expand Down
7 changes: 4 additions & 3 deletions content/en/code_coverage/data_collected.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ further_reading:
text: "Set up Code Coverage"
---

{{< callout url="http://datadoghq.com/product-preview/code-coverage/" >}}
Code Coverage is in Preview. This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated. Complete the form to request access for the new Code Coverage product.
{{< /callout >}}
<div class="alert alert-info">
This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated.
</div>


## Source Code Provider Integration

Expand Down
7 changes: 4 additions & 3 deletions content/en/code_coverage/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ further_reading:
text: "Learn what data is collected for Code Coverage"
---

{{< callout url="http://datadoghq.com/product-preview/code-coverage/" >}}
Code Coverage is in Preview. This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated. Complete the form to request access for the new Code Coverage product.
{{< /callout >}}
<div class="alert alert-info">
This product replaces Test Optimization's <a href="https://docs.datadoghq.com/tests/code_coverage">code coverage</a> feature, which is being deprecated.
</div>


Setting up Code Coverage involves the following steps:

Expand Down
6 changes: 3 additions & 3 deletions content/en/tests/code_coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ further_reading:
text: "Learn about CI Monitors"
---

{{< callout url="https://www.datadoghq.com/product-preview/code-coverage/" >}}
This Test Optimization feature is being deprecated and replaced by a new dedicated <a href="https://docs.datadoghq.com/code_coverage/">Code Coverage</a> product. Sign up for the Preview!
{{< /callout >}}
<div class="alert alert-info">
This Test Optimization feature is being deprecated and replaced by a new dedicated <a href="https://docs.datadoghq.com/code_coverage/">Code Coverage</a> product.
</div>

## Overview

Expand Down
6 changes: 3 additions & 3 deletions content/en/tests/setup/junit_xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,10 @@ The values that you send to Datadog are strings, so the facets are displayed in

## Reporting code coverage

{{< callout url="https://www.datadoghq.com/product-preview/code-coverage/" >}}
<div class="alert alert-info">
This section covers the code coverage feature of the Test Optimization product.
This feature is being deprecated and replaced by a new dedicated <a href="https://docs.datadoghq.com/code_coverage/">Code Coverage</a> product. Sign up for the Preview!
{{< /callout >}}
This feature is being deprecated and replaced by a new dedicated <a href="https://docs.datadoghq.com/code_coverage/">Code Coverage</a> product.
</div>

It is possible to report code coverage for a given JUnit report via the `--report-measures` option, by setting the `test.code_coverage.lines_pct` measure:

Expand Down
Loading