matlab-write-tests

Installation
SKILL.md

Write Tests

Generate, structure, and organize MATLAB unit tests using the matlab.unittest and matlab.uitest frameworks.

When to Use

  • User asks to write tests for a MATLAB function or class
  • User wants to add test methods or parameterize existing tests
  • User needs fixtures, mocking, or dependency injection in tests
  • Test-driven development — writing tests before implementation
  • Testing App Designer apps with programmatic gestures
  • Baseline/regression tests against stored reference data (golden file, snapshot, characterization tests)

When NOT to Use

  • Running tests, analyzing failures, or filtering test suites — use matlab-run-tests
  • Collecting or analyzing code coverage — use matlab-run-tests
  • CI/CD pipeline configuration — use matlab-run-tests
  • Testing Simulink models — use Simulink test skills
Installs
5
GitHub Stars
1.1K
First Seen
9 days ago
matlab-write-tests — matlab/matlab-agentic-toolkit