QuestionQ1
Acceptance Testing for Non-Functional RequirementsAs a tester, you are part of a development team for a health monitoring system that records and synchronizes various health parameters, calculates a health score, and provides practical advice on maintaining and improving health.
Consider the following User Story and related acceptance criterion:
US 34 —
As a user of the system,
I can measure my blood sugar by using a blood glucose meter connected device, in order to adjust my diet and medication dosage if I am diabetic.
Acceptance criterion #1 — Once a logged-in user has taken a blood sugar measurement using the blood glucose meter, the measurement result is displayed in less than four seconds.
Which of the following Gherkin-language test cases is BEST for this user story and acceptance criterion?
- A GIVEN I am diabetic WHEN I measure my blood sugar with a blood glucose meter connected device THEN I can see the result on my personal dashboard in less than 4 seconds
- B GIVEN I am logged in on the system WHEN I measure my blood sugar with a blood glucose meter connected device THEN I can see the result on the my personal dashboard in less than 4 seconds
- C GIVEN I am diabetic and logged in on the system WHEN I measure my blood sugar with a blood glucose meter connected device THEN I can see the result on the my personal dashboard in less than 4 seconds and obtain an alert if the risk of hypoglycemia or hyperglycemia is high
- D GIVEN I am logged in on the system WHEN I measure my blood pressure THEN I can see the result on the my personal dashboard in less than 4 seconds
Community Discussion