- There is some expectation mismatch here. So what happens is that if a link is a verification link that MATLAB understands, such as from Simulink Test Manager, then we know when the results are stale with respect to the source of the link, which is the test. So, if you produce results and then make a change in the test file, Requirements Editor will know about it. But in your case, the tests haven't changed, but there is a change in the test harness, which Simulink Requirements has no direct way of detecting yet. So it is not expected to revert the color to yellow from green. It is expected to show whatever is the result status from Simulink Test Manager
- Unfortunately, there is no way currently to automatically mark such statuses as "Stale" in case the test harness model connected to the test file changes. However, if you do make changes to the test file, such as a simple re save, which "touches" the file on disk, then the results would be marked as "Stale" in yellow which would signal that tests need to be re-run.
Verification with Simulink test
1 次查看(过去 30 天)
显示 更早的评论
I am trying out the use of Simulink Test and Requirements for MBSE.
I have created a requirement that links to a test case and is implemented by a block. After running the test, I see that the test completed sucessfully and that the requirement has a green verfied bar in the requirements manager. All this works well.
However, now if I make some changes in my model that is part of the test harness for the test, I would expect that the verfication needs to be done again, and the verification bar should turn yellow. However, I do not see this happening and the requirement remains verified.
I wanted to ask:
- Is my expectation correct?
- Is there an option that implements this that I am not using correctly?
Thanks!
Udai
0 个评论
采纳的回答
Shivam Chaturvedi
2020-4-13
Hi Udai,
Hope that helps.
Shivam
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Test Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!