How do I perform independent testing more quickly in Polyspace Test R2025a?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 2 Oct 2025
Réponse apportée : MathWorks Support Team
le 24 Oct 2025 à 13:32
I would like to speed up independent testing in MATLAB Polyspace Test R2025a. Is there a way to do this?
Réponse acceptée
MathWorks Support Team
le 2 Oct 2025
To speed up independent testing, use the setup and teardown functions available for each test or suite. However, it is best practice for each test to manage its own independence (i.e. initializing all required states). Resetting all global variables or similar initialization can be time-consuming, but it is necessary for test case independence.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Author Tests Using C/C++ xUnit API dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!