Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Error/Warning messages for generating artifacts can be more specific #153

Open
@SangaviJayagopi

Description

@SangaviJayagopi

For example, PDF Report is not supported in Mac system is a known bug. The error messages(such as below) in Console log could be more specific. It can seem to be misleading to the user, as to what is missing with too many variables.

% Unable to produce PDF test reports. This problem might be due to a MATLAB release or operating system that does not support generating the specified artifact, a missing toolbox, or a missing license
runner = TestRunner.withTextOutput('Verbosity', Verbosity.Detailed);
% Unable to produce PDF test reports. This problem might be due to a MATLAB release or operating system that does not support generating the specified artifact, a missing toolbox, or a missing license.
runner.addPlugin(TAPPlugin.producingVersion13(ToFile('matlabTestArtifacts/taptestresults.tap')));
runner.addPlugin(XMLPlugin.producingJUnitFormat('matlabTestArtifacts/junittestresults.xml'));
% Unable to produce Simulink test results. This problem might be due to a MATLAB release or operating system that does not support generating the specified artifact, a missing toolbox, or a missing license.
runner.addPlugin(CodeCoveragePlugin.forFolder({'.'}, 'IncludingSubfolders', true, 'Producing', CoberturaFormat('matlabTestArtifacts/cobertura.xml')));
% Unable to produce Cobertura model coverage. This problem might be due to a MATLAB release or operating system that does not support generating the specified artifact, a missing toolbox, or a missing license.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions