Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Agile & deliveryJuniorOccasionalTheory

How do a requirement, user story, acceptance criterion, business rule and constraint differ?

Answer

A requirement states a needed capability, quality or condition. A user story is a lightweight conversation placeholder that expresses value from a user's perspective, not the complete specification. Acceptance criteria make the boundaries and observable conditions for accepting that item explicit. A business rule applies domain policy or logic that may affect many stories, while a constraint limits the solution or operation, such as a legal, platform, performance or compatibility boundary. Keeping these artifacts linked prevents teams from duplicating global rules in every story or mistaking a few examples for complete requirements.

Strong answer includes

  • does not treat a user story as a complete requirement specification
  • separates acceptance conditions from reusable domain rules
  • explains how constraints and linked artifacts affect coverage

Practical example

A user story says 'As a customer, I want to apply a discount code so I get a lower price.' Its acceptance criteria specify that an expired code shows a specific error message. But nobody wrote down the business rule that discount codes cannot be combined with clearance items — that rule lives separately and applies to a dozen other stories. When a tester finds a clearance item accepting a discount code, it's a business-rule violation the story's acceptance criteria never covered, not a bug in the story itself.

#requirements#acceptance-criteria#user-stories#business-rules

Sources

ISTQB CTFL syllabus v4.0.1ISTQB · Testing vocabulary, principles, lifecycle and test-design conceptsThe Scrum GuideScrum Guides · Scrum accountabilities, events, commitments and empiricismNASA Systems Engineering Handbook — How to Write a Good RequirementNASA · Requirement clarity, correctness, feasibility, singularity, completeness, consistency, traceability and verifiability