Chapter 4 Flashcards

1
Q

Describe black box testing.

A

This is testing that concentrates on inputs and outputs of the test object without reference to the internal structure. It is applicable to functional and non-functional testing.

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

List some black-box testing techniques.

A
Equivalence partitioning
Boundary Value Analysis
Decision Table Testing
State Transition Testing
Use Case Testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List some white-box testing techniques.

A

Statement Testing

Decision Testing

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

List some experience-based testing techniques.

A

Error guessing
Exploratory testing
Checklist-based testing

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

How is coverage measured for Boundary Value Analysis?

A

The number of boundary values tested divided by total boundary test values.

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

What is another name for black-box techniques?

A

Specification-based techniques

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

What is another name for white-box techniques?

A

Structure-based techniques

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

How is coverage measured for Boundary Value Analysis?

A

The number of boundary values tested divided by total boundary test values.

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

What is statement testing?

A

This is a structure based technique that exercises potential executable statements and the code.

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

What is decision testing?

A

This is a structure based technique that exercises code decisions and tests the code that is executed by decision outcomes

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

How is coverage measured for statement testing?

A

The number of statements executed by the test divided by the total number of executable statements.

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

How is coverage measured for decision testing?

A

The number of decision outcomes executed by the test divided by the total number of decision outcomes.

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

How can we ensure 100% statement coverage?

A

100% decision coverage.

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

How can we ensure 100% statement coverage?

A

By ensuring 100% decision coverage.

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

Name 2 white box testing techniques.

A

Statement testing

Decision testing

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

List and describe 2 Experience based test techniques.

A

Error guessing: A list of possible errors anticipated by the tester’s prior knowledge.
Exploratory testing: Dynamically created tests during test execution. This is usually when specifications are deficient or if there is a time pressure on testing.

17
Q

What is a key characteristic of structure based testing techniques?

A

They are used to measure coverage and design tests to increase coverage.