Home > functions > internal > unit-test > dsUnitRun_custom_all.m

dsUnitRun_custom_all

PURPOSE ^

% Run all custom tests

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

% Run all custom tests
 i.e. all tests that aren't autogen

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% Run all custom tests
0002 % i.e. all tests that aren't autogen
0003 import matlab.unittest.TestSuite
0004 import matlab.unittest.selectors.HasTag
0005 
0006 %% Make Test Suite
0007 fullSuite = TestSuite.fromPackage('dsUnit');
0008 fullSuite = fullSuite.selectIf(~HasTag('query'));
0009 fullSuite = fullSuite.selectIf(~HasTag('autogen'));
0010 
0011 %% Run Test Suite
0012 result = run(fullSuite);

Generated on Tue 12-Dec-2017 11:32:10 by m2html © 2005