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

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.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

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

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A null is the of one.
absencepresencetype

Blank Blitz makes facts automatic

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

AA null means no value has been recorded.
BZero and an empty string are values.
CA null is the absence of a value.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

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.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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