Package: matlab.unittest.plugins
Plugin that writes test results in XML format
The XMLPlugin
class creates a plugin that writes
test results to a file in XML format.
Instantiate an XMLPlugin
using one of its static
methods.
matlab.unittest.plugins.XMLPlugin.producingJUnitFormat(
returns
a plugin that produces JUnit-style XML output to the file, xmlFile
)xmlFile
.
Using this plugin, you can integrate MATLAB® Unit Test results
into third-party systems that recognize the JUnit-style XML. For example,
you can integrate test results with continuous integration systems
like Jenkins™, TeamCity®, or Microsoft® Team Foundation
Server.
Handle. To learn how handle classes affect copy operations, see Copying Objects.
If your test file is a script-based or function-based
test, the value of the classname
attribute of the <testcase>
element
is the test file name.