Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,18 @@
BASE_VERSION_TAP13_SUPPORT = '9.1';
if verLessThan('matlab',BASE_VERSION_TAPORIGINALFORMAT_SUPPORT)
warning('MATLAB:testArtifact:tapReportNotSupported', 'Producing TAP results is not supported in this release.');
tapPlugin = matlab.unittest.plugins.TestRunnerPlugin.empty;
elseif verLessThan('matlab',BASE_VERSION_TAP13_SUPPORT)
tapFile = getTapResultFile(resultsDir);
import('matlab.unittest.plugins.TAPPlugin');
tapPlugin = TAPPlugin.producingOriginalFormat(tapFile);
runner.addPlugin(tapPlugin);
else
tapFile = getTapResultFile(resultsDir);
import('matlab.unittest.plugins.TAPPlugin');
tapPlugin = TAPPlugin.producingVersion13(tapFile);
runner.addPlugin(tapPlugin);
end
runner.addPlugin(tapPlugin);

end

% Produce Cobertura report (Cobertura report generation is not supported
Expand Down