Slides 13 + 14 + 15 - A Practical Approach to Test Case Selection Flashcards

1
Q

How to apply the general testing techniques? Steps

A
  1. Identify Input Equivalence Classes
  2. Identify Output Equivalence Classes
  3. Check Function Coverage
  4. Define boundary values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cause-effect graph

A

A graphical representation of inputs and/or stimuli (causes) with their associated outputs (effects), which can be used to design test cases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cause-effect graph - Process

A
  1. Break the specification down into workable pieces
  2. Identify the causes
  3. Identify the effects
  4. Create a cause-effect graph
  5. Annotate the graph with constraints describing combinations of causes and/or effects that are impossible
  6. Transform the cause-effect graph into a decision table
  7. Define concrete test cases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UML State Diagrams

A

● extend the notation of Harel state charts by object-oriented principles
● have the characteristics of both Mealy and Moore automata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

State machine

A

● A behavior model, consisting of a finite number of states

● Events trigger states transitions and cause responses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

State

A

Condition or situation in the life of a system during which it
● satisfies some condition
● performs some activity, or
● waits for some events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Events

A
Specification of a significant stimulus that has a location in time and space an can trigger a state transition:
● Signal event: name
● Call event: operation
● Change event: when
● Time event: after
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Defintion: Transition

A

Relationship between two states
● where the source state will enter the target state
● when a specified event occurs and/or a specified condition is satisfied

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Testing behavior in case of error

A
  1. Create Event-Response matrix
    ● Events form the rows of the table
    ● States the columns
  2. Specify for each event and each state
    ● event is allowed (valid) (√ )
    ● event is invalid, leads to an error that must be handled (⊗)
    ● event is excluded because the precondition cannot be satisfied (-)
  3. Create test cases for all event-state pairs that are invalid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When does a Inspection of states has to be done?

A

Has to be done after each test step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly