Recall & Review
beginner
What is a test case in software testing?
A test case is a set of instructions or steps designed to check if a software feature works as expected. It includes inputs, actions, and expected results.
Click to reveal answer
beginner
Name three essential parts of a test case.
1. Test steps (actions to perform)<br>2. Test data (inputs used)<br>3. Expected result (what should happen)
Click to reveal answer
beginner
Why is it important to write clear and simple test cases?
Clear and simple test cases help anyone understand and run the test easily, reducing mistakes and saving time during testing.
Click to reveal answer
beginner
What does it mean if a test case 'passes'?
A test case passes when the actual result matches the expected result exactly, showing the feature works correctly.
Click to reveal answer
beginner
Give an example of a good test case title.
Example: 'Login with valid username and password should succeed'. It clearly states what is tested and the expected outcome.
Click to reveal answer
Which part of a test case describes what you expect to happen?
✗ Incorrect
The expected result tells what should happen if the test runs correctly.
Why should test cases be easy to understand?
✗ Incorrect
Easy-to-understand test cases reduce mistakes and make testing faster and more reliable.
What is NOT usually part of a test case?
✗ Incorrect
Test cases focus on testing actions and results, not on how the code is written.
If a test case fails, what does it mean?
✗ Incorrect
A failure means the software did not behave as expected in that test.
Which title is a good test case title?
✗ Incorrect
A good title clearly describes what is tested and the expected outcome.
Describe the key parts of a test case and why each is important.
Think about what you need to do, what you use, and what you expect.
You got /4 concepts.
Explain what it means when a test case passes or fails.
Focus on comparing what happens to what should happen.
You got /4 concepts.