How do I perform independent testing more quickly in Polyspace Test R2025a?
조회 수: 8 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2025년 10월 2일 0:00
답변: MathWorks Support Team
2025년 10월 24일 13:32
I would like to speed up independent testing in MATLAB Polyspace Test R2025a. Is there a way to do this?
채택된 답변
MathWorks Support Team
2025년 10월 2일 0:00
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Author Tests Using C/C++ xUnit API에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!