getVerificationStatus
Class: slreq.Reference
Namespace: slreq
Query referenced requirement verification status summary
Syntax
status = getVerificationStatus(ref)
status = getVerificationStatus(ref, 'self')
Description
returns the verification status summary for the referenced requirement
status
= getVerificationStatus(ref
)ref
and all its child
references.
returns the verification status summary for just the referenced requirement
status
= getVerificationStatus(ref
, 'self')ref
.
Input Arguments
Output Arguments
Examples
Get Verification Status Summary of Referenced Requirements
% Get the verification status summary of the referenced requirement ref % and all its child references refVerifStatus = getVerificationStatus(ref) refVerifStatus = struct with fields: total: 70 passed: 45 failed: 7 unexecuted: 10 justified: 1 none: 7 % Get the verification status summary of only the referenced requirement myRef myRefVerifStatus = getVerificationStatus(myRef, 'self') myRefVerifStatus = struct with fields: passed: 1 failed: 0 unexecuted: 0 justified: 0 none: 0
Tips
To get the verification status for a requirement set, pass the
slreq.ReqSet
object as an input to thegetVerificationStatus
function.To get the verification status for a requirement, pass the
slreq.Requirement
object as an input to thegetVerificationStatus
function.
Version History
Introduced in R2018b