Chapter 4 Test Techniques Flashcards

1
Q

Black-box test technique

A

A procedure to derive and/or select test cases based on an analysis of the specification, either functional or non-functional, of a component or system without reference to its internal structure

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

Boundary value analysis

A

a black-box test technique in which test cases are designed based on boundary values

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

Checklist-based testing

A

An experience-based test technique whereby the experienced tester uses a high-level list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product has to be verified.

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

Coverage

A

The degree to which specified coverage items have been determined or have been exercised by a test suite expressed as a percentage

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

Decision Coverage

A

The coverage of decision outcomes

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

Decision Table Testing

A

A black-box test technique in which test cases are designed to execute the combinations of inputs and/or stimuli (causes) shown in a decision table

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

Equivalence Partitioning

A

A black-box test technique in which test cases are designed to exercise equivalence partitions by using one representative member of each partition.

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

Error guessing

A

A test technique in which tests are derived on the basis of the tester’s knowledge of past failures, or general knowledge of failure modes

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

Experience-based test technique

A

A procedure to derive and/or select test cases based on the tester’s experience, knowledge, and intuition

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

Exploratory testing

A

An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, explration of the test item and results of previous tests

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

State transition testing

A

A black-box technique using a stat transition diagram or state table to derive test cases to evaluate whether the test item successfully executes valid transitions and blocks invalid transitions.

Great for finding correct order of valid operations.

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

Statement Coverage

A

The percentage of executable statements that have been exercised by a test suite

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

Test technique

A

A procedure used to derive and or select test cases

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

Use Case testing

A

A black-box test technique in which test cases are designed to execute scenarios of use cases

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

White-box test technique

A

A procedure to derive and or select test cases based on an analysis of the internal structure of a component or system

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

Categories of Test Techniques

A

Black-box
White-box
Experience-based

17
Q

Basis for Black-Box Techniques

A

Requirements (functional and non functional)
Specifications
Use Cases
User Stories

18
Q

Basis for White-Box Techniques

A

Code
Architecture
Detailed Design
Structure

19
Q

Basis for Experienced-based Techniques

A
Tester experience
Developer experience
User experience
Expected Use
Environment
Likely Defects
Distribution of defects
20
Q

Black-box test techniques

A
Equivalence Partitioning
Boundary Value Analysis
Decision Table Testing
State Transition Testing
Use Case Testing
21
Q

Partition

A

A set of data values processed in the same way or yielding a similar outcome or return value

22
Q

Valid Partition

A

A set of data values or conditions that are legal or accepted

23
Q

Invalid Partition

A

A set of data values or conditions that are illegal or not accepted and result in an error or exception condition

24
Q

Equivalence Partition Coverage

A

One test case for each partition or class (applicable to all test levels)

25
Q

Range Partition

A

Variable specifies a continuous or discrete range of values

26
Q

Set Partition

A

A set of at lease one valid and one invalid partition. If each member of a set yields the same result, the set is a single partition.
An invalid set partition is anything else not specified as a member of the valid set partition.

27
Q

Two Value Boundary Analysis

A

One test case for each invalid boundary and 1 test cases for each valid boundary.
The focus is on the actual boundary values themselves. 0|1 9|10

28
Q

Three Value Boundary Analysis

A

One Test case for each invalid boundary and 2 test cases for each valid boundary.
.99|1.00|1.01 8.99|9.00|9.01

Test equal to or greater than/ equal to less than instest of just equal to / less than

29
Q

Decision Table Analysis

A

Rows
Conditions - Various Inputs
Actions - Outcomes

Columns
Rules / Test Cases - each column represents a test case

Delete columns that do not affect the outcome.

Have at least one test case per decision rule in the table.

30
Q

Decision Table Coverage

A

Coverage is the number of decision rules tested by at least one test case / the total number of decision rules as a percentage.

31
Q

Decision Table Maximum Number of Rules Formula

A

Product of the number of choices for each rule
Claims : 4 values
Age : 2 values
Rules = 2x4 = 8 rules

32
Q

State Transition Testing Coverage

A

Percentage of identified states or transitions tested

Desired coverage is :
Each state
Each event that causes a transition
Each valid and invalid in the table

33
Q

Statement Coverage

A

Percentage of executable statements that have been exercised by a test suite

34
Q

Decision Coverage

A

The coverage of decision outcomes. The percentage of decision outcomes exercised by a test suite.

35
Q

Decision

A

A program point at which the control flow has 2 or more alternative routes. A note with 2 or more links to separate branches.
100 % decision coverage yields 100% statement coverage

36
Q

Statement Coverage

A

of nodes covered / total number of nodes

100% statement coverage doesnt necessarily yield 100% decision coverage