Link req to verify statement in a test sequence

3 次查看(过去 30 天)
Hello,
Is it possible to link a requirement to a verify statement from a test sequence block?
Tnx much for support!
Diana

回答(1 个)

Guilherme Costa Nascimento
Hi Diana,
There's no way to link a requirement to individual verify statements in the Test Sequence block. Requirements can only be linked at the test step level.
If you have a few test steps with many verify statements, it might make sense to use the Test Assessment block in your test harness instead. Depending on how your tests are structured you could get more granular traceability between the verify statements and the requirements they exercise. Take a look at this example for more info on using the Test Assessment block: https://www.mathworks.com/help/sltest/ug/connecting-blocks-for-verify-statements.html
- Guilherme

类别

Help CenterFile Exchange 中查找有关 Test Execution 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by