storeIn
Class: matlab.unittest.plugins.Parallelizable
Namespace: matlab.unittest.plugins
Store data collected for group of tests
Description
storeIn(
stores the data collected using the plugin in the specified communication buffer. The data
must be stored in plugin
,buffer
,data
)buffer
by a MATLAB® worker while running a group of tests.
To run tests in parallel, the testing framework divides the original test suite into
groups and assigns them to workers on the current parallel pool (requires Parallel Computing Toolbox™). To enable workers to store
their data, invoke storeIn
within the scope of the runTestSuite
method. The MATLAB client can retrieve the stored data by invoking the retrieveFrom
method within the scope of reportFinalizedSuite
.
Note
Each new call to storeIn
overwrites the previously stored data.
Therefore, write to the buffer only one time within the scope of the
runTestSuite
method. If you need to store several data items, include
them all in data
using an appropriate data type.
Input Arguments
Examples
Version History
Introduced in R2019b