Skip to content
Cambridge AS & A Level9626

Development and testing

Information Technology 9626 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Development and testing notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Development and testing notes as text: skim, search, and jump between subtopics.

~12 min read

1. Test plans

A test plan is written early in the development cycle, before any test is run. It is a guide / set of instructions for testing.

Its purpose is to know what is to be tested and to make sure the new system has been developed to the specifications. It sets out the aim of testing, the types of test, who tests, when, the test data and the pass / fail criteria.

A test plan is a table. Its headings include the item being tested, the test data, the expected result and the actual result.

Examiner insight

“Most candidates produced a test plan but many lacked details of what was being tested, expected and actual results.” “Results were frequently shown where candidates had produced a tabular plan, although it was acceptable to include screen shots for the actual results the expected results should not have included screen shots as the planning should take place before the testing is completed.”

Worked example 16 marks

Test plans are written early in the development cycle of new systems. Describe the tasks that are carried out when creating a test plan.

  1. 1

    analyse the end-product / determine what has been created [1]

  2. 2

    define the test strategy [1]

  3. 3

    decide the aim of testing and what is to be tested [1]

  4. 4

    choose the types of tests to be carried out [1]

  5. 5

    specify who is to carry out the tests [1]

  6. 6

    specify when the tests will be done: write the test schedule [1]

2. Test data

Test data is the data used to run the tests in a test plan. Its purpose is to find errors in the logic, calculations or formulae, and to confirm that validation rules work.

Normal (valid) data is accepted and processed without error. Extreme data is the largest and smallest values that are still allowed, and it is processed normally. Abnormal (invalid) data should be rejected or cause an error. Blank data checks that an appropriate error message is generated.

Test data may be generated manually by testers, to check specific files, rules or messages. It may also be computer-generated, to represent live data.

Examiner insight

“Many responses listed alternative validation checks, rather than data that could be used to test the range check.” “Several managed to provide an acceptable example of test data but did not give adequate reasons for their choice.”

Worked example 14 marks

A new database has been developed to manage the stock in a warehouse. The new database is to be tested. Describe the types of test data that could be used to test the database.

  1. 1

    normal / valid data, which is accepted / processed by the database without error [1]

  2. 2

    extreme data, to ensure it is processed normally [1]

  3. 3

    abnormal / invalid data, which should be rejected / causes an error [1]

  4. 4

    blank / no data, to ensure appropriate error messages are generated [1]

3. Alpha and beta testing

Alpha testing is carried out by employees of the developer. It gives a more technical analysis of the faults in the system.

Beta testing follows on from the report of alpha testing. It uses a version ready for use by end-users. It is carried out by selected end-users, not employees of the developer, away from the developer's premises, in their own environment. It checks reliability and security, and it does not check the code.

Problems found in beta testing are corrected and a new beta version is produced. Beta testers give a more objective view than the developers.

Examiner insight

“Some responses accurately described the differences between alpha and beta testing but common errors were to describe one or the other but not give the differences or to give separate descriptions of each with the differences implied. Some responses transposed the descriptions.” “A good answer could have explained that alpha testing will result in a more technical analysis of the faults of the system as it is carried out by the developers themselves, and that beta testing audiences will give a more objective view than the developers who carry out alpha testing.”

Worked example 14 marks

A new app for a smartphone is being developed. The app is ready to be beta tested. Describe beta testing.

  1. 1

    follows on from / uses the report from alpha testing [1]

  2. 2

    uses a version of the app ready for use by end-users [1]

  3. 3

    carried out by selected end-users, not employees of the developer [1]

  4. 4

    carried out away from developer premises, in their own environment [1]

4. White box and black box testing

In white box testing the internal structure is known to the tester. The tester can look inside the system.

In black box testing the internal structure is not known to the tester. The tester does not need to know the programming language.

A good answer gives the characteristics of each and then says how they differ in effectiveness.

Examiner insight

“Good answers should have given the characteristics of each and explained how they differ in their effectiveness when testing.”

Worked example 14 marks

A company has written a payroll program. Describe the differences between white box testing and black box testing of the program.

  1. 1

    white box: the internal structure is known to the tester [1]

  2. 2

    black box: the internal structure is not known to the tester [1]

  3. 3

    white box: the tester can look inside the system, so the testing is more thorough [1]

  4. 4

    black box: the tester does not need to know the programming language, so it is easier to use [1]

5. Advantages and disadvantages of each type

White box. Benefit: the tester can look inside the system, so the testing is more thorough. Drawback: it needs in-depth knowledge of the system, or a highly skilled programmer.

Black box. Benefit: it is easier to use because the tester does not need to know the programming language. Drawback: it does not test all internal pathways through the software.

Alpha. Benefit: it gives a more technical analysis of the faults, as the developers carry it out themselves.

Beta. Benefits: it gives a more objective view than the developers, checks reliability and security, and does not need specialised equipment. Drawbacks: it is time consuming to find testers, feedback may not be complete or the same from each tester, and testers must be trusted to keep the app confidential.

Examiner insight

“Good answers should have given both benefits and drawbacks of this type of testing, e.g. White Box testing is a testing method that allows the tester to look inside the system and therefore the testing is more thorough could be the benefit and then the fact that White Box testing requires the tester to have an in-depth knowledge of the system and/or be a highly skilled programmer could be the drawback.”

Worked example 12 marks

A new app for a smartphone is being developed. The app is ready to be beta tested. Describe the drawbacks of using beta testing.

  1. 1

    it is time consuming to identify beta testers [1]

  2. 2

    beta testers must be trusted to keep the app details confidential, so business secrets are not lost to competition [1]

Recap

  • A test plan is a guide for testing: it states what is to be tested, with expected and actual results.
  • Test data: normal is accepted, extreme is the edge of the allowed range and accepted, abnormal is rejected, blank gives an error message.
  • Alpha testing is by employees of the developer. Beta testing is by selected end-users, away from the developer.
  • White box: internal structure known to the tester. Black box: not known.
  • White box is more thorough but needs in-depth knowledge. Black box is easier to use but misses internal pathways.
  • Always give differences, or a benefit and a drawback, not two separate descriptions.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Give two purposes of a test plan.2 marks
    Answer
    1. To know what is to be tested, and to act as a guide / set of instructions for testing.

    Trap: Saying what testing is, instead of why the plan is needed.

  2. Name the type of test data described in each case. (a) Data that the system should reject. (b) The largest value that the system should still accept. (c) Nothing entered in the box.3 marks
    Answer
    1. (a) Abnormal (invalid) data.
    2. (b) Extreme data.
    3. (c) Blank (no) data.

    Trap: The largest allowed value is extreme, not abnormal, because it is still accepted.

  3. A database field for a customer's surname must not be left empty. State the test data to use and the result expected.2 marks
    Answer
    1. Blank (no) data is entered, and an appropriate error message is generated.

    Trap: Choosing a surname such as “Khan” tests normal data, not the rule.

  4. State who carries out alpha testing and who carries out beta testing.2 marks
    Answer
    1. Alpha: employees of the developer. Beta: selected end-users, who are not employees.

    Trap: Transposing the two descriptions.

  5. A games company has corrected the faults found in alpha testing. Describe the beta testing that follows.3 marks
    Answer
    1. A version ready for use by end-users is used.
    2. Selected end-users carry it out, not employees, away from the company's premises.

    Trap: Describing alpha testing, which is done by the developer's own employees.

  6. Describe the difference between white box testing and black box testing.2 marks
    Answer
    1. White box: internal structure known to the tester. Black box: not known to the tester.

    Trap: Describing only one type, or two separate descriptions with the difference left implied.

  7. A tester has no knowledge of the code in a stock-control program. State the type of testing and give one benefit and one drawback of it.3 marks
    Answer
    1. Black box testing.
    2. Benefit: easier to use, as the tester need not know the programming language. Drawback: does not test all internal pathways.

    Trap: Naming the type but giving no benefit or no drawback.

  8. Discuss one benefit and one drawback of white box testing.4 marks
    Answer
    1. Benefit: the tester can look inside the system [1], so the testing is more thorough [1].
    2. Drawback: the tester must have an in-depth knowledge of the system [1], so needs to be a highly skilled programmer [1].

    Trap: Writing only benefits, or a drawback such as “it is slow” with no reason.

  9. A charity's online form lets a volunteer book a shift. The volunteer's name must not be left blank. The number of hours must be a whole number from 2 to 8. Create a test plan with five tests for this form.6 marks
    Answer
    1. Column headings: item being tested, test data, type of test data, expected result, actual result [1].
    2. Hours, 5: normal data, accepted and processed without error [1].
    3. Hours, 2 and hours, 8: extreme data, both accepted and processed normally [1].
    4. Hours, 9: abnormal data, rejected with an error message [1].
    5. Name left blank: blank data, an appropriate error message is generated [1].
    6. Expected results are written now; the actual result column stays empty until the tests are run [1].

    Trap: Leaving out the expected and actual result columns, or filling in results before testing: the plan is written before the tests are run.

  10. A bank's programmers have written a new app that lets customers check their balance. It is tested in two stages. In stage 1, the programmers who wrote the code test it, looking at how the code works. In stage 2, selected customers use a version ready for release on their own phones and report problems. (a) Name each stage as alpha or beta testing, and as white box or black box testing. (b) Analyse three differences between stage 1 and stage 2. (c) Explain one drawback of stage 2 for the bank.7 marks
    Answer
    1. (a)
    2. Stage 1: alpha testing, and white box, as the internal structure is known to the tester [1].
    3. Stage 2: beta testing, and black box, as the internal structure is not known to the customers [1].
    4. (b)
    5. Stage 1 is carried out by employees of the developer, whereas stage 2 is carried out by end-users who are not employees [1].
    6. Stage 1 gives a more technical analysis of the faults, whereas stage 2 gives a more objective view than the developers [1].
    7. Stage 1 looks inside the system, so it is more thorough, whereas stage 2 does not test all internal pathways but checks reliability and security in the customers' own environment [1].
    8. (c)
    9. The customers must be trusted to keep the app details confidential [1], or business secrets may be leaked to competitors [1].

    Trap: Describing each stage separately with the differences only implied, or transposing alpha and beta.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
A test plan is there because testing checks the system works.A test plan is a guide / set of instructions for testing: it states what is to be tested.
Test data shows the system works.Test data finds errors in logic, calculations or formulae and confirms the validation rules work.
Alpha testing is carried out by the developers.Alpha, by employees of the developer, gives a more technical analysis of faults. Beta, by end-users who are not employees, gives a more objective view.
Black box testing is bad because it is not thorough.Black box does not test all internal pathways, but it is easier to use as the tester needs no programming knowledge.

Frequently asked questions

What is a test plan and what does it contain?
A test plan is a guide, or set of instructions, for testing. It is written early in the development cycle, before any test is run. It sets out what is to be tested, the types of test, who tests, when, the test data and the pass / fail criteria, as a table with the expected and actual results.
What is the difference between normal, extreme, abnormal and blank test data?
Normal data is accepted and processed without error. Extreme data is the largest and smallest values that are still allowed, and it is processed normally. Abnormal data should be rejected or cause an error, and blank data checks that an appropriate error message is generated.
What is the difference between alpha testing and beta testing?
Alpha testing is carried out by employees of the developer and gives a more technical analysis of the faults. Beta testing follows on from the report of alpha testing. It is carried out by selected end-users, not employees, away from the developer's premises, and beta testers give a more objective view than the developers.
What is the difference between white box testing and black box testing?
In white box testing the internal structure is known to the tester, who can look inside the system. In black box testing the internal structure is not known to the tester, who does not need to know the programming language. White box testing is more thorough, while black box testing is easier to use.
What are the drawbacks of white box testing and black box testing?
White box testing needs in-depth knowledge of the system, or a highly skilled programmer. Black box testing does not test all internal pathways through the software. A good answer gives both a benefit and a drawback for each type, with the reason.
What mistake do students make when they describe alpha and beta testing?
Students describe only one of the two, or give separate descriptions with the differences only implied. Some responses transposed the descriptions. Always give the differences between alpha and beta testing, such as who carries them out.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters