For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/tests/setup.md. A documentation index is available at /llms.txt.

Configure Test Optimization

This product is not supported for your selected Datadog site. ().

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 whitelisting.

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