function results = VBA_test (subfolder)
    import matlab.unittest.TestSuite;        

    vba_info = VBA_version();
    target = [vba_info.path filesep 'tests'];
    if nargin > 0
        target = [target filesep subfolder];
    end
    suite = TestSuite.fromFolder(target, 'IncludingSubfolders', true);
    results = suite.run ();
end
MBB-team
github-repos/MATLAB/MBB-team-VBA-toolbox/VBA-toolbox-01ff63f43ef7a6473bc5e3f28dd9ffa58fcfb414/tests/VBA_test.m
VBA-toolbox
github-repos/MATLAB/MBB-team-VBA-toolbox
01ff63f43ef7a6473bc5e3f28dd9ffa58fcfb414