Build out MATLAB test framework and core integration coverage
This commit is contained in:
29
Tests/README.md
Normal file
29
Tests/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user