levo

Designing, Testing and Evaluating an Event Driven Application

Designing a test strategy for an event driven application

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

Overview

Test strategy, test that follows one complete user journey called and regression testing.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a test strategy?

Process

Why is an event driven application harder to test than a program that runs one fixed sequence?

Key term

Why should the code behind a button be written as a separate method?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a test strategy?

    Model answer

    A test strategy is the plan for how an application will be tested, setting out what will be tested, in what order and against what standard.

  2. 2

    Why is an event driven application harder to test than a program that runs one fixed sequence?

    Model answer

    A user can operate the controls in any order, so the number of routes through the interface is far larger than a single path from start to end.

  3. 3

    What does it mean to test a control in isolation?

    Model answer

    Testing a control in isolation exercises one button or one field on its own, confirming it does its own job before any combination is tried.

  4. 4

    Why should the code behind a button be written as a separate method?

    Model answer

    A separate method is called directly from a test without a click, so the processing is checked without driving the interface at all.

  5. 5

    What can a click do that a direct call to the same method cannot?

    Model answer

    A click also exercises the registration of the handler, the enabled state of the control, and the reading of values out of the form's own boxes.

  6. 6

    What is a test that follows one complete user journey called, and what does it check?

    Model answer

    A journey through the screens is an end to end test, and it checks that the forms hand data to one another correctly from start to finish.

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 Designing, Testing and Evaluating an Event Driven Application, 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.