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.
Prior to setting up Test Impact Analysis, set up Test Optimization for .NET. If you are reporting data through the Agent, use v6.40 and later or v7.40 and later.
Pour activer la fonctionnalité Test Impact Analysis, accédez à la page Test Service Settings. Vous devez disposer de l’autorisation d’activation d’Intelligent Test Runner (intelligent_test_runner_activation_write).
Test Impact Analysis uses code coverage data to determine whether or not tests should be skipped. In some cases, this data may not be sufficient to make this determination.
Examples include:
Tests that read data from text files.
Tests that interact with APIs outside of the code being tested (such as remote REST APIs).
Designating tests as unskippable ensures that Test Impact Analysis runs them regardless of coverage data.
Add a NUnit PropertyAttribute with the key datadog_itr_unskippable and a non-null value (for example, string.Empty) to your test case to mark it as unskippable.
Add a NUnit PropertyAttribute with the key datadog_itr_unskippable and a non-null value (for example, string.Empty) to your test suite to mark it as unskippable.
If a suite is marked as unskippable, none of the test cases from that suite can be skipped by Test Impact Analysis.