ome / omero-matlab

Toolbox for accessing OMERO from MATLAB
GNU General Public License v2.0
0 stars 6 forks source link

Set up integration tests #4

Open joshmoore opened 6 years ago

joshmoore commented 6 years ago

There are currently training scripts which are tested regularly (https://github.com/openmicroscopy/openmicroscopy/tree/develop/examples/Training/matlab) but no real integration tests for each function.

kouichi-c-nakamura commented 6 years ago

I can think of turn those scripts into MATLAB's unit tests.

The easiest way is to use the existing scripts as script-based unit tests and run them with runtests function.

runtests({'ConnectToOMERO','CreateImage','DeleteData.m',....})

So you may want to add such a script to the same folder.

More thorough approach is to use class-based unit tests, maybe.