What are the methods for synchronization/merging of Test harness's to new main model?
Show older comments
What are the methods to merge Test Harness with the newer version of the model when multiple developers are working on the development of the model and development of test harness?
In most of the development environments, one tester will be creating test harness for one function in the model and the other tester will be developing harness for other function. At the same time, the developer will be updating the model.
How can merge these different test harness created for the updated version of the model?
Accepted Answer
More Answers (1)
Rong Mi
on 6 Feb 2018
Hi Varunjith Vijayan,
I understand from your description that you have different versions of main models created by different developers and you also have different test harnesses. Right now you want to merger a specific test harness to a specific version of model.
The way to merge a test harness to a different harness owner is available from R2017a.
You can use a feature called "clone harness".
In your MATLAB command window, type the following:
sltest.harness.clone(HarnessOwner,HarnessName,'DestinationOwner',Value,'Name',newHarnessName)
Also you can type the following in MATLAB Command Window:
help sltest.harness.clone
you can see the detailed description of the command, and "Example 2", which is listed above, is the one you can use for this purpose.
1 Comment
Varunjith Vijayan
on 7 Feb 2018
Edited: Varunjith Vijayan
on 7 Feb 2018
Categories
Find more on Outputs in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!