Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Compatibility
Intelligent Test Runner is only supported in the following versions and testing frameworks:
jest>=24.8.0
From dd-trace>=3.16.0 or dd-trace>=2.29.0.
Only jest-circus/runner is supported as testRunner.
Only jsdom and node are supported as test environments.
After setting these environment variables, run your tests as you normally do:
NODE_OPTIONS="-r dd-trace/ci/init"DD_ENV=ci DD_SERVICE=my-javascript-app DD_CIVISIBILITY_AGENTLESS_ENABLED=trueDD_API_KEY=$API_KEYDD_APPLICATION_KEY=$APP_KEY yarn test
UI activation
In addition to setting the environment variables, you or a user in your organization with “Intelligent Test Runner Activation” permissions must activate the Intelligent Test Runner on the Test Service Settings page.
Suite skipping
Intelligent test runner for Javascript skips entire test suites (test files) rather than individual tests.
Further Reading
Documentation, liens et articles supplémentaires utiles: