levo

The Development Project: Build, Testing and Evaluation

Test data and the types of testing

  • 3 things to know
  • A2 Unit 2
Start revising · £5/month

Overview

White box testing, black box testing and unit testing.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Why are both white box and black box testing needed?

Key term

Give normal, boundary and erroneous test data for a field holding a quantity ordered between one and fifty.

Key term

What is white box testing?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is white box testing?

    Model answer

    White box testing tests with knowledge of the internal structure, choosing data that makes every path through the logic execute at least once, so a branch that is never exercised cannot hide a fault.

  2. 2

    What is black box testing?

    Model answer

    Black box testing tests only against the specification, without regard to how the system is built. Data is chosen from what the system should accept and reject, and the internal code is irrelevant to the tester.

  3. 3

    Why are both white box and black box testing needed?

    Model answer

    White box testing finds faults in paths the specification never mentions, and black box testing finds requirements the code does not implement at all. Neither finds the other's faults.

  4. 4

    What is unit testing?

    Model answer

    Unit testing tests one module or component on its own, with the modules it depends on replaced by stubs if necessary, so a fault found belongs to that unit.

  5. 5

    What is integration testing?

    Model answer

    Integration testing tests modules working together, and finds faults in the interfaces between them: data passed in the wrong order or units, or a value one module produces that the next cannot handle.

  6. 6

    What is system testing?

    Model answer

    System testing tests the whole assembled system against the requirements, in conditions as close as possible to the ones it will run in, including its volume of data and its number of users.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Systems Analysis and Development Approaches
Design, Development and Testing
Implementation and System Security
Programming

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A check requires a value.
presencerangeformat

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in The Development Project: Build, Testing and Evaluation, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.