Chp 7 - Test Design Techniques Flashcards

(38 cards)

1
Q

What is the definition of a ‘Test Technique’?

A

A procedure used to define test conditions, design test cases, and test data

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

What two main testing activities do test techniques support?

A

Test analysis (what to test) and Test design (how to test)

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

List the three main classifications of testing techniques.

A

Black-box, White-box, and Experience-based testing

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

What aspect does Test Technique Overview assist tester in?

A
  1. Defining test condition
  2. Identify the coverage items
  3. Identify test data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the basis for Black-box testing techniques?

A

Analysis of the component or system specifications.

Testing where only INPUT and OUTPUT are seen

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

What is another name for Black-box testing?

A

Specification-based testing

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

What is hidden from the tester in Black-box testing?

A

The internal code, functions, and processes.

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

Who usually test with Black-Box Testing?

A

User / Customer

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

List the four specific Black-box techniques mentioned.

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

What is the core concept of Equivalence Partitioning (EP)?

A

Dividing data into partitions where all elements behave the same way

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

Can equivalence partitions overlap?

A

No, partitions must be non-overlapping and non-empty

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

How many tests per partition are needed for 100% EP coverage?

A

One test per partition is sufficient

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

What defines a ‘Valid Partition’?

A

A partition containing values defined in the specification (accepted values)

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

What defines an ‘Invalid Partition’?

A

A partition containing values that must be rejected or ignored.

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

What does Boundary Value Analysis (BVA) focus on?

A

The minimum and maximum values (boundaries) of equivalence partitions.

-----|------------------|----------

     50                 90

Test number 50, 90 and number random inside the range

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

What are the coverage items for 2-value BVA?

A

The current boundary value and its closest neighbor.

----|-|------------------|-|---------

     49 50                 90 91
17
Q

What are the coverage items for 3-value BVA?

A

The boundary value, its inside neighbor, and its outside neighbor

----|-|-|----------------|-|-|---------

     49 50 51               89 90 91
18
Q

What does Decision Table Testing analyze?

A

Combinations of conditions that result in specific outcomes

19
Q

In a Decision Table, what do the columns represent?

A

Feasible combinations of conditions (rules).

20
Q

What constitutes 100% Decision Table coverage?

A

Testing all columns of feasible combinations

21
Q

What element triggers a change in State Transition Testing?

A

Events trigger transitions from one state to another

22
Q

What constitutes 100% State Transition coverage?

A

When all states have been visited.

23
Q

List out 3 columns for State Transition Diagram

A
  1. Starting State
  2. Ending State
  3. Transition

State 1 State 2 Event 1
State 2 State 4 Event 2

24
Q

What is the basis for White-box testing techniques?

A

The internal structure or code of the component

25
Who typically performs White-box testing?
The programmer
26
List out 2 common White-box Testing Technique
1. Statement Testing 2. Branch Testing ## Footnote Branch Testing is industry standard
27
What is the goal of Statement Testing?
Exercise/Visit all the statements in the code until it was visited at least once
28
What is the 100 % coverage for Statement Testing?
All executable statements in the code have been visited at least once
29
What testing does not guarantee that all decision logic has been tested?
Doesn't guarantee that all the decision logic has been tested
30
What is the goal of Branch Testing?
To exercise branches in the control flow until coverage is achieved
31
What constitutes 100% Branch coverage?
Executing all unconditional and conditional branches. ## Footnote Testing all conditional flow Read X --- if ( x = 3 ) , is a control flow
32
What determines the effectiveness of Experience-based testing?
The tester's skills, knowledge, and intuition
33
List the three Experience-based testing techniques.
1. Error Guessing 2. Exploratory Testing 3. Checklist-based Testing
34
What is 'Error Guessing' based on?
Common knowledge of why software fails and the tester's experience
35
What characterizes 'Exploratory Testing'?
Designing, executing, and evaluating tests simultaneously while learning
36
When is Exploratory Testing most useful?
1. Tester have experience 2. Tester have domain knowledge 3. Tester are creative and curious
37
What are the checklists in 'Checklist-based Testing' based on?
1. Tester Experience 2. Knowledge of user needs 3. Understanding why and how software fails.
38
List out 4 checklist items for Checklist-based Testing
1. Functional or non-functional requirements 2. Graphical user interface properties 3. Quality characteristics 4. Test condition that need to be tested