Package: matlab.unittest.plugins
Plugin that produces Test Anything Protocol stream
The TAPPlugin
creates a plugin that produces a Test Anything Protocol
(TAP) stream. Using this plugin, you can integrate MATLAB® unit test results into third-party systems that recognize the TAP
protocol. For example, you can integrate test results with continuous integration
platforms like Jenkins™ or TeamCity®.
Instantiate a TAPPlugin
using one of its static methods.
To produce output in the original TAP format (version 12), use the
producingOriginalFormat
static method. To produce output with TAP
version 13 format, use the producingVersion13
static method. TAP
version 13 output includes test diagnostics in YAML blocks.
producingOriginalFormat | Construct TAPPlugin for original TAP format |
producingVersion13 | Construct TAPPlugin for version 13 TAP format |
Handle. To learn how handle classes affect copy operations, see Copying Objects.
matlab.unittest.plugins.OutputStream
| matlab.unittest.plugins.TestRunnerPlugin
| matlab.unittest.plugins.ToFile