Ce produit n'est pas pris en charge pour le site Datadog que vous avez sélectionné. ().
Cette page n'est pas encore disponible en français. Nous travaillons sur sa traduction.
Si vous avez des questions ou des commentaires concernant notre projet de traduction actuel, n'hésitez pas à nous contacter !

Set up Test Optimization with an agent

Copy this prompt into your AI coding agent to use the dd-orchestrator skill for guided Test Optimization setup.
Using the skill at https://github.com/datadog-labs/agent-skills/blob/main/dd-orchestrator/SKILL.md, set up Datadog Test Optimization for this project

For information about configuration options for Test Optimization, choose your language:

.net
java
javascript
python
ruby
swift
go
upload junit tests to datadog

If you use Bazel to run Go, Java, or Python tests, use the Datadog Bazel rules for Test Optimization.

If you run your tests in an environment with network restrictions, see the Agent Network Traffic or Agentless Network Settings guide for information on how to configure allowlisting.

If you run your tests in a container, see the Tests in Containers guide for additional setup steps.

To have a supported Test Optimization library upload code coverage reports automatically, see Upload reports automatically with Test Optimization.

Data Access Control

You can restrict Test Optimization data at the repository level to the appropriate teams and roles in Datadog. This helps prevent sensitive information, such as test names or source paths, from crossing team boundaries.

To use Data Access Control, go to Organization Settings > Access Control and create a Restricted Dataset scoped to Software Delivery and the repository you want to restrict. Grant access to the roles or teams that should see it.