Testing Approaches - White Box Testing Flashcards

1
Q

What is White Box Testing?

A

Testing technique that evaluates code and internal structure

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

What is verified in White Box Testing?

A

Internal security holes, code flow, expected output, and loops.

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

What are the basic steps in White Box Testing?

A

Understand source code, create test cases, and execute

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

What is Statement Coverage?

A

Testing each statement/line of code at least once

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

What is Branch Coverage?

A

Testing each/true false branch of conditional statements

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

What is Path Coverage?

A

Testing all possible paths through code

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

Why perform White Box Testing?

A

Ensure all paths exercised, verify logic, and find bugs

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

Does White Box Testing require programming skills?

A

Yes

Knowledge of programming languages and logic is required

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

What is a limitation of White Box Testing?

A

Difficult to test all path for large systems

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

What are some types of White Box Testing?

A

Unit Testing, Memory Leak Testing, Penetration Testing, Mutation Testing

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

What is Unit Testing?

A

Testing individual units/components of code as they are developed

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

What is Integration Testing?

A

Testing how individual units interact when integrated

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

What is Memory Leak Testing?

A

Detecting memory leaks that cause applications to run slowly

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

What is Mutation Testing?

A

Modifying code to test quality of existing text cases

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

What is Regression Testing?

A

Re-testing after code changes to detect new defects

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