XMLTestRunDisplay
This provides JUnit-style XML logging for the MATLAB xunit framework developed by Steve Eddin (http://www.mathworks.com/matlabcentral/fileexchange/22846). The code was developed with version 3.0.1 and supports xunit-style and m-file-style tests. We use this in conjunction with Hudson/Jenkins to track test results.
Below is a code sample illustrating use of the extension. See example.m for details.
%add source code to path
addpath('src');
addpath(<path to xunit>);
%import classses, functions
import edu.stanford.covert.test.runtests;
import edu.stanford.covert.test.XMLTestRunDisplay;
%run and log tests
monitor = XMLTestRunDisplay(<Name>, <description>, <output file name>);
runtests(monitor, <tests>)
Cite As
Jonathan Karr (2026). XMLTestRunDisplay (https://se.mathworks.com/matlabcentral/fileexchange/33971-xmltestrundisplay), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: hermite gaussian beam
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
