getVerificationStatus
Class: slreq.Requirement
Namespace: slreq
Query requirement verification status summary
Syntax
status = getVerificationStatus(req)
status = getVerificationStatus(req, 'self')
Description
returns the verification status summary for the requirement status
= getVerificationStatus(req
)req
and
all its child requirements.
returns the verification status summary for just the requirement
status
= getVerificationStatus(req
, 'self')req
.
Input Arguments
Output Arguments
Examples
Get Verification Status Summary of a Requirement
% Get the verification status summary of the requirement req % and all its child requirements reqVerifStatus = getVerificationStatus(req) reqVerifStatus = struct with fields: total: 34 passed: 14 failed: 15 unexecuted: 4 justified: 1 none: 0 % Get the verification status summary of only the requirement myReq myReqVerifStatus = getVerificationStatus(myReq, 'self') myReqVerifStatus = struct with fields: passed: 0 failed: 1 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 referenced requirement, pass the
slreq.Reference
object as an input to thegetVerificationStatus
method.
Version History
Introduced in R2018b