← Software Testing learning path
Software Testing · Module 6 of 10

Test cases and documentation

Write clear test cases and plans.

📖 Key ideas

  1. A test case: ID, title, preconditions, steps, test data, expected result, actual result, status.
  2. A test plan defines scope, approach, resources, schedule and risks.
  3. Traceability matrix links requirements to tests.
  4. Test data should cover valid, invalid and edge cases.
  5. Keep tests simple, independent and repeatable.
💡 Real-life example: A test case is a recipe card: anyone following the steps should get the same result.
Test caseSteps and expected result for a check
Test planDocument describing testing approach
RTMRequirements Traceability Matrix
Expected resultWhat should happen