matlab-test-creator
Installation
SKILL.md
MATLAB Test Generator
Generate robust unit tests using the MATLAB Testing Framework. This skill covers:
- Test Creation: Writing test classes, methods, fixtures, assertions, and mocks
Must-Follow Rules
- Present a test plan if needed - Create a user-approved test plan before writing test code unless the scope is limited and straightforward.
- Show diff before updating - For existing test files, always show the user a diff and wait for approval before editing.
- Always use class-based tests - Every test file must define a class inheriting from
matlab.unittest.TestCase. Never use function-based or script-based tests. - Do not guess requirements - If scope or expected behaviors are unclear, ask