Testing Frameworks

Test the functionality and performance of your MATLAB® code

Testing your code is an integral part of developing quality software. To guide software development and monitor for regressions in code functionality, you can write unit tests for your programs. For more information about the different types of unit tests, see Ways to Write Unit Tests. You also can write performance tests to measure the time it takes for your code (or your tests) to run and test a portion of a complete system in isolation using mocked-up dependencies.