VH-Lab / DID-matlab

Data Interface Database
Other
1 stars 1 forks source link

Refactor tests to use TestCase classes #71

Closed ehennestad closed 1 month ago

ehennestad commented 1 month ago

This is a work in progress.

Goal should be to move all functions from +did/+test to tools/tests and change all function that perform tests into TestCase classes

Note: This PR should eventually be squash merged as it brings a lot of trial and error commits

stevevanhooser commented 1 month ago

@ehennestad : How do I invoke the tests on the command line to try it out? Thanks!

ehennestad commented 1 month ago

To run all the tests: tools/tasks/testToolbox.m

Also, in MATLAB it is very convenient to open the individual test files and press the "Run Tests" or "Run Current Test" buttons that appear in the editor pane.