How can I assign the Test Diagnostic provided by the Unit Testing framework in the Command Window to a variable
이전 댓글 표시
While runnig tests with the Unit Testing framework the defined Test Diagnostic is displayed in the Command Window: ================================================================================ Verification failed in mbd_ZaehlerUnitTest/testTestCase01(UeberlaufAbfangen=off,InternerDatentyp=uint8,Abtastzeit=T_SAMP,ModelCoverage=No).
----------------
Test Diagnostic:
----------------
xxx
---------------------
Framework Diagnostic:
---------------------
verifyEqual failed.
In order to create an overall test report I need to assign this diagnostic text to a string variable. How can I Do this?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Extend Testing Frameworks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!