How do I perform independent testing more quickly in Polyspace Test R2025a?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 2 Oct 2025 at 0:00
Answered: MathWorks Support Team
on 24 Oct 2025 at 13:32
I would like to speed up independent testing in MATLAB Polyspace Test R2025a. Is there a way to do this?
Accepted Answer
MathWorks Support Team
on 2 Oct 2025 at 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 Comments
More Answers (0)
See Also
Categories
Find more on Author Tests Using C/C++ xUnit API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!