


runRAVENtests Runs all unit tests found at RAVEN/test/unit_tests, and prints output in command window.


0001 function testResults = runRAVENtests 0002 % runRAVENtests 0003 % Runs all unit tests found at RAVEN/test/unit_tests, and prints output in 0004 % command window. 0005 0006 ravenPath = findRAVENroot; 0007 curwd = pwd; 0008 cd(fullfile(ravenPath,'testing','unit_tests')); 0009 testResults = runtests(struct2table(dir('*.m')).name); 0010 0011 cd(curwd);