volume_mute
Mentcare Allergy Requirements
publish date: 2026/06/19 10:15:24.953250 UTC
volume_mute
A medical record system has the following drug allergy requirements:
How many separate tests are needed to comprehensively test these two requirements?
Correct Answer
At least 5 tests - multiple tests per requirement to cover all scenarios
Explanation
Testing these requirements requires multiple tests per requirement: (1) no known allergy - no warning issued; (2) known allergy - warning issued; (3) allergies to two or more drugs - correct warnings for each; (4) two allergic drugs prescribed together - two warnings issued; (5) warning overruled - system requires reason. Testing a requirement does not mean just writing one test.
Reference
Software Engineering, Ian Sommerville, 10th edition
