Error/Warning messages for generating artifacts can be more specific #153
Description
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.