Part 3 test design tech Flashcards

1
Q

Why is exhaustive testing often impractical?

A

Because the number of potential test cases can be astronomically high, making it infeasible to test all combinations.

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

What are two main test strategies and their strengths?

A

Partitioning: Effective for single-point bugs, though expensive.
Random Testing: Quick and cheap for range bugs, but less effective for single-point bugs.

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

What is the pesticide paradox in testing?

A

If the same tests are repeatedly executed, they become less effective at finding new bugs.

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

What is the goal of combinatorial testing?

A

To systematically reduce the number of test cases while maintaining sufficient coverage of the input space.

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

What is brute force testing, and why is it challenging?

A

Brute force testing tries all input combinations but is tedious, error-prone, and difficult to manage.

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

What are the key steps in category partition testing?

A

Identify features to test.
Identify parameters and environmental elements.
Define characteristics (categories) for each parameter.
Generate test cases based on these categories.

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

How does category partition testing reduce test cases?

A

By focusing on representative categories instead of all possible input combinations.

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

What is an equivalence class in testing?

A

A group of inputs treated similarly by the program, reducing the need to test every value in the class.

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

What is boundary value analysis?

A

A technique that focuses on testing the edge values of equivalence classes where errors are more likely.

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

Provide an example of equivalence classes for getMonthName(int month).

A

Valid: 1–12.
Invalid: Less than 1 and greater than 12.

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

What is pairwise combination testing?

A

A method that ensures all pairs of parameter values are tested at least once to reduce the number of test cases.

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

Why is pairwise testing effective?

A

Because not all parameter interactions are equally important, and pairwise testing captures most faults efficiently.

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

What role do constraints play in pairwise testing?

A

Constraints eliminate impossible or irrelevant parameter combinations, further reducing test cases.

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

Why are automated tools recommended for pairwise testing?

A

Generating efficient combinations manually is nearly impossible for complex systems.

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

Provide an example of pairwise testing reducing test cases.

A

Testing font, display mode, and screen size together ensures every font value is paired with all display modes and screen sizes without testing every combination.

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