Writing the A2 Project

AQA Specification pages

4. Test Strategy and Testing (8 marks)

From the specification:

Expected contents for this section of the report are:

A test plan that includes:

A testing strategy is the way that you will test your program. Strategy implies that you will think about the way that you test and will write a sound commentary on the method you have adopted.

Remember that in Analysis you shaped your work to match the objectives of SMART:

Your testing will show that you have met these objectives. You will:

One aim of testing is to discover as yet undiscovered errors and to show that the software works as intended. You should have identified your testing strategy during the Design phase of the project. By thinking about testing in this way you will focus on the things that will make your system work successfully. If you do find errors you may not have time to fix them: minor errors should have been removed during implementation and large errors may be beyond your ability to correct them.

The test plan should include samples of tests done, including the purpose of the test, the data used and the expected results. Samples of hard copy, annotated and cross-referenced, should prove the correct working of the system. Test results will normally be in the form of file dumps, screen shots and test runs. If using screenshots to illustrate messages include the screen behind, not just the message boxes (you could fake message boxes!).

The testing should test the system, not just menus or buttons. The test data should be designed to test the limits of the system, not just operation with normal data. Test the most complex and vital aspects of the system rather than showing repeated validation tests on input data. Each test should be numbered, should specify what is to be tested, should provide an explanation of why the test is being performed, should specify the data to be used and give the expected and actual results.

The full set of test results should be put into an appendix in the back of the project. Test results should be cross-referenced to the test plan.

Use peers to help you with your testing. When you have completed your own testing procedures you should arrange for your user to test the program. Devise some appropriate data to demonstrate the code with your user (you may be able to use existing data if you remove it from the system).

Useful video. There are a number of other videos available on Youtube - search for 'testing software'.

Wikipedia