File Exchange

image thumbnail

junit-xml-ml

version 1.0.0.8 (423 KB) by Jed F.
Creates JUnit XML test result documents that can be read by tools such as Jenkins.

16 Downloads

Updated 12 Aug 2017

View Version History

View License

Creates JUnit XML test result documents that can be read by tools such as Jenkins. Aims to be the Matlab equivalent of junit-xml for Python.
A Matlab class for creating JUnit XML test result documents that can be read by tools such as Jenkins. If you are ever working with test tool or test suite written in Matlab and want to take advantage of Jenkins' graphs and test reporting capabilities, this module will let you generate the XML test reports.

https://github.com/jed-frey/matlab_junit_xml

Cite As

Jed F. (2021). junit-xml-ml (https://www.mathworks.com/matlabcentral/fileexchange/64094-junit-xml-ml), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

J F

That only works with unittests. There is a lot of legacy code that doesn't fit into a 'unit test' scenario. So you can generate an XML test report from any arbitrary script.

Rody Oldenhuis

What's wrong with matlab.unittest.plugins.XMLPlugin.producingJUnitFormat (introduced in R2015b)?

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

+junit/@TestCase/

+junit/@TestSuite/

Examples/