Donders-Institute / PRESTUS

PREprocessing & Simulations for Transcranial Ultrasound Stimulation package
GNU General Public License v3.0
12 stars 10 forks source link

Create automatic tests #16

Open achetverikov opened 1 year ago

achetverikov commented 1 year ago

It would be good to introduce automatic tests to know that changes in the code do not break things.

mekman commented 1 year ago

I looked into this all morning how to do that in Matlab (only ever did it in python before). I would suggest to make it not too difficult (matlab as of recently has a unit test module), but follow/copy what fieldtrip does: https://www.fieldtriptoolbox.org/development/testing/

WDYT?

mekman commented 1 year ago

https://github.com/MOxUnit/MOxUnit