Test Plan

Line: Input Line
Medium Difficulty Testing Learning Outcome Five Exercise
Type: Exercise
You should have completed:

Monthly Calendar

This topic leads to:

White Box

Record Sales

Summary

All of us make mistakes, so it is important to test any program or code you write to be as sure as you can that it is free from errors. Given a program, you will design a set of tests to check that the program is functioning properly. This is 'Black Box' testing where you don't have access to the code, and can only test from the user perspective.

Task

  1. Download the example program here
  2. Run the program to see what it does
  3. Write a test plan for all the tests you could carry out on this program. Hint: You may need to look up "Astronomical Unit".
  4. Carry out that test plan. Did you find any errors?