matlab-test-generator

Official

Automates MATLAB unit test generation.

Authormatlab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidelines and templates for creating robust unit tests using the MATLAB Testing Framework. It helps developers generate test classes, test methods, and test suites to ensure MATLAB code correctness.

Core Features & Use Cases

  • Generate test classes, test methods, and test suites following MATLAB best practices
  • Support for class-based, function-based, and script-based tests using matlab.unittest
  • Parameterized tests, fixtures, and setup/teardown routines for reliable testing
  • Clear test organization with conventional naming and placement under tests/

Quick Start

Use the matlab-test-generator skill to create a test for a MATLAB function named myFunction by invoking the generator with the function name and desired test scope (class-based or function-based).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: matlab-test-generator
Download link: https://github.com/matlab/skills/archive/main.zip#matlab-test-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.