Know and understand test designs, test strategies, test plan (test data, expected outcomes, actual outcomes, remedial action) following testing

Published by Patrick Mutisya · 14 days ago

ICT 0417 – The Systems Life Cycle: Testing

7. The Systems Life Cycle – Testing Phase

After a system has been designed, built and implemented, it must be tested to ensure that it meets the requirements and works reliably. Effective testing is achieved through well‑structured test designs, clear test strategies and a comprehensive test plan.

Test Designs

Test design is the process of creating test cases that will uncover defects. The most common design approaches are:

  • Black‑box testing – focuses on inputs and expected outputs without considering internal code.
  • White‑box (structural) testing – examines the internal logic, paths and conditions of the code.
  • Boundary value analysis – tests values at the edges of input ranges.
  • Equivalence partitioning – groups inputs into classes that are expected to behave similarly.
  • Decision table testing – uses a table of conditions and actions to generate test cases.

Test Strategies

A test strategy defines the overall approach and the levels of testing that will be performed:

  1. Unit testing – tests individual components or modules in isolation.
  2. Integration testing – checks the interaction between combined modules.
  3. System testing – validates the complete, integrated system against requirements.
  4. Acceptance testing – performed by end‑users to confirm the system is ready for deployment.

Test Plan

The test plan records all the information needed to carry out testing and to evaluate results. The essential elements are:

  • Test data – the specific inputs used for each test case.
  • Expected outcome – the result that should be produced, denoted as \$E\$.
  • Actual outcome – the result observed during testing, denoted as \$A\$.
  • Remedial action – the steps taken if \$A \neq E\$ (e.g., bug fixing, retesting).

Sample Test Plan Table

Test Case IDTest DataExpected Outcome (\$E\$)Actual Outcome (\$A\$)ResultRemedial Action
TC01Username: admin, Password: 1234Login successful, dashboard displayedLogin successful, dashboard displayedPassNone
TC02Username: admin, Password: wrongError message “Invalid password”No error displayed – system logs inFailInvestigate authentication routine, fix, retest
TC03Input value: 0 (boundary of range 0‑100)Accepted, value stored as 0Accepted, value stored as 0PassNone

Documenting Test Results

For each test case, record the following:

  1. Test case identifier.
  2. Date and tester’s name.
  3. Test environment (hardware, OS, software versions).
  4. Detailed observations, including any error messages.
  5. Conclusion – Pass or Fail.

Remedial Actions and Re‑testing

If a test fails, the typical remedial cycle is:

  1. Log the defect with a clear description.
  2. Assign the defect to a developer for correction.
  3. Developer implements a fix and updates the code.
  4. Tester re‑runs the original test case (and any related cases).
  5. Update the test plan with the new actual outcome and result.

Link to the Systems Life Cycle

Testing occurs after the Implementation stage and before Maintenance. Successful testing validates that the system is ready to move into operational use.

Suggested diagram: Systems Life Cycle showing the Testing phase positioned between Implementation and Maintenance.