Test Tools - Utilities for unit tests

Tools that facilitate debugging or writing unit test for MATLAB functions.

You are now following this Submission

Version 1.2 (JASP) 26-Jul-2009

This package is a set of tools that facilitate debugging or writing unit test for MATLAB functions.

disp_value - display the value of an expression
disp_test_title - display a test name
disp_test_name - display a subtest name
disp_num_failures - display number of test failures

check_err - verify an expected error message
check_warn - verify an expected warning message
check_value - compare a test value with an expected value
check_float - specifically checks floating point numbers

set_val - sets, displays variable value without expanding value

time - times a script/function call
timesim - times a Simulink model run

Cite As

Jay St. Pierre (2026). Test Tools - Utilities for unit tests (https://www.mathworks.com/matlabcentral/fileexchange/346-test-tools-utilities-for-unit-tests), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Testing Frameworks in Help Center and MATLAB Answers

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

- Changed license from GPL to BSD
- Scrubbed mlint warnings

1.0.0.0