Skip to tutorial content
Rate module Not yet rated

Writing the Test Plan

4 min read
On this page

In this lesson, you will learn:

  • What a Discovery test plan contains
  • How to write a test case
  • SNWR’s test plan

πŸ” Quick look back: Last time: Revisiting the Acceptance Criteria. You learned how the acceptance criteria become the testing checklist.

1 The Problem: Ad-Hoc Tests Miss Requirements

If people just ‘try things’, some requirements never get tested. For example:

  • Nobody checks the excluded ranges.
  • Nobody checks the Finance agents.

🎯 The problem: Ad-hoc tests miss requirements.

πŸ‘‰ The fix: Write a test plan with test cases traced to every requirement.

Table of example test cases.
Figure 1. Part of the Clear View test plan.

2 A test case

Part Example (TC-07)
Checks Excluded range is never scanned
Requirement REQ-DISC-09
Steps Run the nightly schedule; search results for 10.10.30.x
Expected No results
Actual and evidence Filled in during testing

πŸ’‘ Good to know: Need a refresher? See ITSM Implementation β€Ί ITSM Deployment β€Ί Test Strategy for an ITSM Rollout for test strategy in general.

3 Coverage

Every requirement should have at least one test. Include safety tests, not just ‘does it find things’ tests.

4 Project Clear View: How We Implemented It

πŸ“ Situation: Testing needed structure.

🧭 Decision: Write 20 test cases traced to the requirements.

πŸ› οΈ Steps we took:

  1. Wrote TC-01 to TC-20.
  2. Traced each to requirements and criteria.
  3. Added safety tests for exclusions and scan windows.
  4. Reviewed with Hana.

βœ… What we verified:

  • Every requirement has a test.
  • Hana approved the plan.

πŸ“ Evidence: The Clear View test plan.

5 Quick recap

  • A test plan lists test cases traced to requirements.
  • Each case has steps, expected result and evidence.
  • Include safety tests.
  • Every requirement needs at least one test.

6 Check yourself

Think of your answer first. Then tap to check.

1 What does TC-07 check? Show answer

That the excluded range is never scanned.

2 What must every requirement have? Show answer

At least one test case.

3 Why include safety tests? Show answer

Discovery must also be proven not to touch what it shouldn’t.

Nice work! Clear View has a test plan. πŸŽ‰
Next up: Comparing Results with the Client’s Inventory

Was this lesson helpful?

Have a question or doubt?

Ask here and get help from instructors and fellow learners.

0 / 300

Only logged-in learners can post.