QA & Software Testing
Test Case Design
6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- You're testing a function that approves a loan only when the applicant's age is between 18 and 65 inclusive. How would you systematically choose test cases for it, and why does that beat just writing a few examples you think of?
- A teammate's pull request reports 95 percent code coverage on a new module, and they're treating that as proof it's well tested. As the reviewer, why might that number be misleading, and how do you actually judge whether the tests are good?Go Pro
- What makes a test case a good one, and how do you write tests that stay useful as the code changes?Go Pro
- How would you go about writing test cases for a feature whose requirements are vague or incomplete?Go Pro
- Given an input field that accepts an age between 18 and 65, how would you design test cases for it without writing one test per possible value?Go Pro
- Suppose you're testing an input field that accepts an age between 1 and 120. What values would you choose to test, and why those?Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.