Défauts de mauvaise utilisation des bibliothèques
Défauts liés à l'utilisation incorrecte d'une bibliothèque, par exemple API Polyspace® Test™ basée sur xUnit
Ces défauts surviennent lorsque l'utilisation d'une fonction de la bibliothèque enfreint les spécifications de la bibliothèque. Ce groupe de contrôleurs de défauts couvre actuellement une seule bibliothèque, l'API Polyspace Test basée sur xUnit. Pour plus d’informations, consultez Test Authoring Using C/C++ xUnit API (Polyspace Test).
Résultats Polyspace
Incorrect use of test setup/teardown API | Test setup invoked in test suite configuration, suite setup invoked in test configuration, and so on (depuis R2023b) |
Incorrect use of test fixtures | Test fixture accessed in suite-test setup/teardown, suite-test fixture accessed in suite setup/teardown (depuis R2023b) |
Incorrect use of mocking API | Mock function accessed outside test body, and so on (depuis R2023b) |
Incorrect test registration or definition | Test or test suite not defined, test not registered, and so on (depuis R2023b) |
Unsupported syntax used with test authoring API | Higher order calls in test or test suite configuration, and so on (depuis R2023b) |