Test Driven Development Flashcards

1
Q

What is a Software Fault?

A

A static defect in the software.

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

What is a software failure?

A

An External incorrect behavior with respect to the requirements.

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

What is an Error State?

A

Incorrect internal state that is the manifestation of some fault

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

What are the four conditions to observe a software failure?

A
  • Reachability: Location of the fault must be reached
  • Infection: State of program must be incorrect
  • Propogation: Infected state must cause output / final state to be incorrect
  • Reveal: Tester must observe part of the incorrect portion of program state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the RIRP model?

A

Tests reach Faults that are infecting the program state and propogating to the final state.

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

Why is the term “Bug” too informal?

A

It can mean fault, error, or failure depending on context

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

What is Validation per IEEE?

A

Process of evaluation of Software at the end to ensure it works as intended

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

What is Verification per IEEE?

A

Determining if the product at a given development phase meets the expectations set in the previous phase.

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

What are some examples of coverage criteria metrics?

A
  • Date-criterion (ship date)
  • written objectives / requirements
  • Code coverage levels
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Unit Testing?

A

Testing each unit (method) individually.

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

What is Module Testing?

A

Testing each class, file, module, component

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

What is integration testing?

A

Test how modules interact with eachother

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

What is system testing?

A

Testing the overall functionality of the program.

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

What is Acceptance Testing?

A

Testing if the software is acceptable to the user.

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

How do newer testing paradigms differ from the old view?

A

Defined in terms of structures and criteria.

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

What are the four ways to model a structure?

A
  • Input Domain / Characterization (sets)
  • Graphs
  • Logical Expressions
  • Syntactic Structures (grammars)
17
Q

What are the benefits of coverage criteria?

A
  • Makes it more systematic, thorough, efficient, and traceable
  • Make regression tasting easier
  • Gives testers a “stopping rule”