Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Documentation & defectsJuniorOccasionalTheory

What characteristics make a test case valuable and maintainable?

Answer

A valuable test case has a clear purpose linked to a requirement or risk, controlled preconditions and data, understandable actions, and an observable expected result that can reveal failure. It should be accurate, reproducible enough for its context, independent where practical, focused on one coherent behavior, and free of duplicate detail that will quickly drift. Names and structure should help people find and diagnose the test. Reusability and brevity are benefits only when they preserve intent; a short ambiguous case or a highly reusable case with a weak oracle is not high quality.

Strong answer includes

  • connects the case to risk and a clear oracle
  • balances repeatability, independence and maintainability with context
  • rejects formatting or case count as the definition of quality

Practical example

A regression suite has 40 test cases for the login form, many copy-pasted with minor tweaks and no clear link to why each exists. During a cleanup, the team discovers 12 of them test the exact same password-length boundary with different cosmetic wording and no real oracle beyond 'page loads.' They collapse those into 3 well-documented cases tied to specific requirements, cutting maintenance time in half without losing any actual coverage.

#test-cases#testware#maintainability#test-oracle

Sources

ISTQB CTFL syllabus v4.0.1ISTQB · Testing vocabulary, principles, lifecycle and test-design conceptsISTQB GlossaryISTQB · Terminology verificationЯкі запитання ставити на співбесіді QA-інженеру: погляд з позиції технічного інтерв'юераHillel IT School · Fresh Ukrainian interviewer perspective on theory, practical situations, tools, critical thinking and communicationTop 40 QA Interview Questions and Answers for 2026BugBug · Current recurrence signal for fundamentals, practical judgment, automation, metrics, ambiguity and shift-left testing