How to convert test case to 'Real-Time Test(Simulation Test)' programmatically?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to write a script to run a series of test cases and would like to open Test Manager as little as possible. I have found that you can programmatically create a test case and specify the type as either 'baseline','equivalence', or 'simulation'. However, I have not been able to find a type to create a test case for real-time simulation without having to open Test Manager. Is there a way to do this?
0 comentarios
Respuestas (1)
Alex Howard
el 13 de Ag. de 2021
Hi Donovan,
It sounds like you would like to be able to programmatically 1) create a real-time test or 2) convert an existing test case to a real-time test case.
Looking at the documentation for the sltest.testmanager.TestCase class, the TestType property does not appear to support real-time tests. Additionally, the RunOnTarget property, which indicates if a test case is configured to run on a target, cannot be changed, as the set access is private. The convertTestType function does not appear to support real-time tests, and I do not see another function to convert the test type.
The above leads me to believe that this is not currently possible. I've passed this feedback on to the development team so that they might consider implementing this functionality in a future release.
Best,
Alex
1 comentario
Szilard Hegyi
el 17 de En. de 2023
May I ask, is there any update on this topic. Would be useful to have this feature. Thanks
Ver también
Categorías
Más información sobre Test Execution en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!