Test Design Techniques Flashcards

1
Q

Test Strategies

A

Random
Partitioning

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

Random Strategy

A

Randomly generated test cases. Easy to run millions of tests in a short amount of time. Can find range-bugs effectively. Difficult to find single-point bugs. Cheap.

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

Partitioning Strategy

A

Reduces an infinite set of test cases into a finite set of classes. Targeted test cases are efficient with single-point bugs. Sensitive to accuracy of specification. More expensive as you have to plan the tests. Susceptible to pesticide paradox.

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

Pesticide Paradox

A

When the tests are the same so you fix them but don’t know if there are other tests out there that need fixing.

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

What is best at addressing single point bugs

A

Partitioning Strategy

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

Combinatorial Testing Techniques

A

Manual step for structuring specification into a set of properties or attributes that can be systematically varied and used to generate test cases.

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

Four main types of combinatorial testing

A
  • Brute Force
  • Category-Partition Testing
  • Pairwise Combination Testing
  • Catalogue-Based Testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Brute Force Testing

A

Simple and blunt. Try as many combinations as possible. Difficult to monitor and control. Intention is to try out as many test cases as possible.

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

Category Partition Testing

A

Separates the identification of the values that characterize the input space from the combination of different values into test cases.
Early estimation of number of test cases and monitoring of test progress. Identify features to be tested separately.

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

Equivalence Class

A

Two values belong to the same class if they are treated in the same way by the program

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

Boundary Value Analysis

A

Looking at the edge cases

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

Pairwise Combination Testing

A

Automatically testing all possible combinations for n parameters

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

Use of Tools

A

Generating combinations that efficiently cover all pairs is nearly impossible to do manually for non-trivial situations. Automated tools can do this for you

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