4.2.4 State Transition Testing Flashcards

1
Q

A state diagram models the behavior of a system by showing its p… and v…

A

possible states
valid state transitions.

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

A transition is initiated by an “ “ which may be additionally “ “ by a …

The transitions are assumed to be “ “ and may sometimes result in the s…

A

event
qualified
guard condition.

instantaneous
software taking action.

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

Common transition labeling syntax: e… [g… / “ “

Guard conditions and actions can be “ “ if they don’t “ “ or are irrelevant for the “ “.

A

event
[guard condition] / action

omitted
exist
tester

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

A state table is a model equivalent to a …

Its rows represent “s…“ and its columns represent “e…“ (together with … if they “ “).

A

state diagram.

states
events
guard conditions
exist

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

Table entries (cells) represent “ “ and contain the t… as well as the resulting a…

In contrast to the state diagram, the state table explicitly shows i… which are represented by e…

A

transitions
target state
actions if defined.

invalid transitions
empty cells.

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

A test case based on a state diagram or state model is usually represented as a s… which results in a s… and a…

One test case may and usually will cover several “ “ between “ “.

A

sequence of events,
sequence of state changes
actions if needed.

transitions
states.

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

In all states coverage the coverage items …

To achieve 100% all states coverage, test cases must ensure that all the s…

Coverage is measured as the number of e… / the total number o… expressed …

A

are the states.

states are exercised.

exercised states
of states
as a percentage.

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

In valid transition coverage (0-switch coverage), the coverage items are …

To achieve 100% all valid transitions coverage, test cases must exercise …

Coverage is measured as …

A

single valid transitions.

all the valid transitions.

the number of exercised valid transitions / the total number of valid transitions - expressed as a percentage.

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

In all transitions coverage, the coverage items are all the “ “ shown in a s…

To achieve 100% all transitions coverage, test cases must exercise all the v… and attempt to execute i…

A

transitions
state table.

valid transitions
invalid transitions.

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

Testing only one invalid transitions which are in a single test case helps to avoid d… , a situation in which one “ “ prevents the detection o…

A

defect masking,
defect
of another.

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

All transitions coverage is measured as …

A

the number of valid and invalid transitions exercised or attempted to be covered by executed test cases / the total number of valid and invalid transitions - expressed as a percentage.

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

All states coverage is weaker than …

A

valid transitions coverage, because it can typically be achieved without exercising all the transitions.

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

Valid transitions coverage is the most …

A

widely used coverage criterion.

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

Achieving full valid transitions coverage …

A

guarantees full all states coverage.

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

All full all transitions coverage guarantees …

A

both full all states coverage and full valid transitions coverage and should be the minimum requirement for mission and safety-critical software.

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