xml output for matlab.unittest results

1 回表示 (過去 30 日間)
Till Rahlf
Till Rahlf 2013 年 12 月 26 日
編集済み: Swati Tiwari 2015 年 9 月 4 日
Hi,
other xunit frameworks provide an xml file generation for the test results.
E.g. the cppunit has a XmlOutputter class.
Is there a matlab class, which generates an xml file for matlab.unittest results?
It would be great, if the generated xml file is readable by Jenkins software.
Thanks

回答 (2 件)

Swati Tiwari
Swati Tiwari 2015 年 9 月 4 日
編集済み: Swati Tiwari 2015 年 9 月 4 日
In R2015b, MATLAB has included a plugin for the matlab.unittest.TestRunner which produces test results in the JUnit-style XML format which can be integrated into continuous integration systems like Jenkins.
Hope that helps!

Andy Campbell
Andy Campbell 2014 年 4 月 9 日
編集済み: Andy Campbell 2014 年 4 月 9 日
In R2014a, MATLAB has included a plugin for the matlab.unittest.TestRunner which produces a TAP stream. This TAP stream can be used with a CI plugin in order to enable integration with continuous integration systems like Jenkins or TeamCity.
Hope that helps!

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by