cantera/test/matlab/runCanteraTests.m
Ray Speth bac65b26a1 Added machinery for unit testing of the Matlab toolbox
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00

16 lines
309 B
Matlab

function runCanteraTests(varargin)
% Set Cantera paths
run ../../interfaces/matlab/testpath.m
% Set test framework path
path('../../ext/matlab_xunit', path)
% run the tests
if nargin == 0
runtests -verbose
else
runtests('-verbose','-logfile',varargin{1})
end
% unload the MEX file
clear ctmethods