levo

Testing Strategies

Black box testing

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

Overview

Black box testing, equivalence partitioning and boundary value analysis.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is black box testing?

Key term

What is a decision table used for in test design?

Key term

A field accepts whole numbers from 1 to 100. Name the equivalence partitions and give one value from each.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is black box testing?

    Model answer

    Black box testing designs the tests from the specification alone, supplying inputs and comparing the outputs with what was promised, without any knowledge of how the code inside works.

  2. 2

    Why is black box testing also called functional testing?

    Model answer

    Black box testing is called functional because it checks the functions the system is supposed to perform, judging only what goes in and what comes out.

  3. 3

    Give two advantages of black box testing.

    Model answer

    Black box testing can be designed before the code is written and by someone who cannot program, and it tests what the user was promised rather than what the developer happened to build.

  4. 4

    State two things black box testing cannot detect.

    Model answer

    Black box testing cannot detect unreachable code inside the program, and it cannot show that a correct answer was reached by a route that will fail on data nobody thought to try.

  5. 5

    What is equivalence partitioning?

    Model answer

    Equivalence partitioning divides the possible inputs into groups the program should treat identically, so that testing one value from each group is taken to represent every value in it.

  6. 6

    A field accepts whole numbers from 1 to 100. Name the equivalence partitions and give one value from each.

    Model answer

    The partitions are values below the range, values within it and values above it, represented by −5, 50 and 150 respectively, with non-numeric input forming a further invalid partition.

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.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

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 null is the of one.
absencepresencetype

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.

An error is the mistake a person made.
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 Testing Strategies, 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.