30 lines
661 B
Markdown
30 lines
661 B
Markdown
# 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.
|