Slides 10 Test Case Selection Flashcards

1
Q

Properties of test cases

A

● representative
● error sensitive
● low redundancy
● economical

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

Black Box

A

● Function coverage
Every specified function is executed at least once
(Jede angegebene Funktion wird mindestens einmal ausgeführt)

● Input coverage
Every input value is used in at least in one test case

● Output coverage
Every output situation is created at least once.

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

Glass-box test coverages

A

● statement coverage
● branch coverage
● path coverage

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

Internal structure of Glass-Box Testing

A

● control flow

● data flow

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

Test Case Selection Criterion (TCSC)

A

A TCSC defines for a given program , implementing its specification, a setof conditions which the set of test cases has to meet.

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

Reliability (Verlässlichkeit)

A

A TCSC is reliable if all sets of test cases fulfilling the TCSC discover the same set of errors.
(Ein TCSC ist zuverlässig, wenn alle Sätze von Testfällen, die den TCSC erfüllen, denselben Satz von Fehlern entdecken.)

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

Validity

A

A TCSC is valid if there is for each error at least one set of test cases fulfilling the TCSC.
(Ein TCSC ist gültig, wenn es für jeden Fehler mindestens einen Satz von Testfällen gibt, die den TCSC erfüllen.)

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

Test Adequacy

A

A program P is adequately tested regarding a defined TCSC iff the set of test cases fulfilling the TCSC discovers no error in P.
(Ein Programm P ist hinsichtlich eines definierten TCSC hinreichend getestet, wenn die Menge der Testfälle, die den TCSC erfüllen, keinen Fehler in P entdeckt.)

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

Important Test Adequacy Criterion (TAC)

A

● Specification-based TACs

● Program-based TACs

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

Program-based TAC

A

They can be used to
● recognize both strong and weak adequacy criteria
● focus attention on the properties that an effective test data adequacy criterion should exhibit
● select an appropriate criterion for the item under test

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

TAC Properties

A
  1. Applicability
  2. Non-exhaustive Applicability
  3. Monotonicity
  4. Inadequate Empty Set
  5. Antiextensionality
  6. General Multiple Change
  7. Antidecomposition
  8. Anticomposition
  9. Renaming
  10. Complexity
  11. Statement Coverage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Model-based Testing

A

software testing in which test cases are derived in whole or in part from a model that describes some (usually functional) aspects of the system under test (SUT).

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

Examples of test models

A

● Glass-box testing: control flow graph

● State transition testing: state diagram

● Combinatorial testing: input parameter model

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