XMLTestRunDisplay

版本 1.2.0.0 (10.8 KB) 作者: Jonathan Karr
JUnit-style XML logger for MATLAB xunit framework
609.0 次下载
更新时间 2011/12/7

查看许可证

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>)

引用格式

Jonathan Karr (2024). XMLTestRunDisplay (https://www.mathworks.com/matlabcentral/fileexchange/33971-xmltestrundisplay), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Testing Frameworks 的更多信息
致谢

启发作品: hermite gaussian beam

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Adding support for m-file-style tests following John Grogan's comments.

1.1.0.0

Including missing code

1.0.0.0