Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SangaviJayagopi opened this issue Sep 16, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SangaviJayagopi
Copy link
Member

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.

@SangaviJayagopi SangaviJayagopi added the enhancement New feature or request label Sep 16, 2020
@SangaviJayagopi SangaviJayagopi linked a pull request Sep 16, 2020 that will close this issue
@SangaviJayagopi SangaviJayagopi removed a link to a pull request Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants