Home > utils > runRAVENtests.m

runRAVENtests

PURPOSE ^

runRAVENtests

SYNOPSIS ^

function testResults = runRAVENtests

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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);

Generated by m2html © 2005