Verification Status needs for Requirements Management work item transition
Verification Status - The current test state of a requirement. Can have three values: satisfied, failed, unverified.
Requirements
Verification Status Badge Display
- When a requirement is created, it's
verification statusis set to the default value ofunverified. - The verification status badge will be displayed for each requirement if the requirements
verification statusis notunverified.
Manual Verification
- When a requirement is edited, the
satisfiedcheck box will display checked if the requirement'sverification statusis set tosatisfied. - When a requirement is edited, the
satisfiedcheck box will display unchecked if the requirement'sverification statusis set tofailedorunverified. - When a requirement is edited and the
satisfiedcheck box is transitioned from unchecked to checked, the requirement'sverification statuswill be set tosatisfied. - When a requirement is edited and the
satisfiedcheck box is transitioned from checked to unchecked, the requirement'sverification statuswill be set tofailed.
Requirements Report CI/CD Job
- When the pipeline stage variable
allow_failureisfalse, and therequirements reportjob is completed without failure, therequirements reportwill update all referenced requirements to the appropriateverification status. - When the pipeline stage variable
allow_failureistrue, and therequirements reportjob is completed, therequirements reportwill update all referenced requirements to the appropriateverification status.
Logging
- Whenever the
verification statusof a requirement changes, the change should be logged. - When the
verification statusis modified by toggling thesatisfiedcheck box, a timestamp and username will be logged, as well as the state change. - When the
verification statusis modified by therequirements reportpipeline job, a timestamp and job identifier will be logged, as well as the state change. - When the
verification statusis set to the current value (unmodified) by therequirements reportpipeline job, a timestamp and job identifier will be logged, as well as the current state.
Filtering Requirements
- The user should be able to filter requirements based on
verification status.
Agreed Scope (draft)
- The existing requirements list will remain.
- Clicking on a requirement in this list will open the requirement in full-page, work item view.
- This view will render the Requirement using the Work Items API.
- The API will provide a title and description using existing work item widgets.
- A new 'Verification status' widget will provide data from the latest test report.
- The new view will render the verification status using this Widget.
- Clicking "New requirement" from the list will open in a full page view, reusing the existing "New Work Item" view.
- Completing this form and submitting it will create a Requirement Work Item
Edited by John Hope