MATLAB: Fail Reasons exportable in the UnitTest-Framework

MATLABunittest

Hi,
when I run unit tests with the unittest framework.
The result of a test run is a vector of matlab.unittest.TestResult objects.
The objects include an information, if a test fails, but do not contain the information about the failure.
If there is a failure, I want to give this failure information to another application.
Therefore my question: Are the fail reasons exportable in the UnitTest-Framework?
thanks

Best Answer

Now with R2014a, you can use custom test runner plugins such as the Failure Diagnostics Plugin and the Output Stream or To File plugin to gather the failure reasons and export them.