Build out MATLAB test framework and core integration coverage

This commit is contained in:
Silas Oettinghaus
2026-03-24 17:23:02 +01:00
parent 9446dfb888
commit a592ebefda
154 changed files with 2281 additions and 1305 deletions

29
Tests/README.md Normal file
View File

@@ -0,0 +1,29 @@
# Tests
This folder is built around `matlab.unittest`.
Primary entrypoint:
```matlab
results = run_all_tests();
results = run_all_tests("profile","full");
results = run_all_tests("profile","placeholder");
```
Profiles:
- `fast`: implemented fast tests only
- `full`: implemented non-hardware tests
- `unit`: implemented unit tests
- `hardware`: hardware-tagged tests
- `placeholder`: explicit `assumeFail` placeholders
- `all`: everything discovered under `Tests`
To generate placeholders for untested classes:
```matlab
generateTests();
```
New tests should inherit from `IMDDTestCase` and use `TestTags` so they can
participate in the profiles above.