Testing Flashcards

(30 cards)

1
Q

What is Software Testing?

A

The process of exercising a program with the intent of finding errors before delivery to the end user.

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

What does testing show?

A

Errors, requirements conformance, performance, and an indication of quality.

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

What are the limitations of testing?

A

Testing alone cannot ensure quality; it can only provide a certain level of assurance under specific controlled conditions.

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

Who is responsible for unit/component testing?

A

Developers.

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

What is the role of the Independent Test Group (ITG)?

A

Removes conflict of interest; attempts to break the system and is driven by quality concerns.

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

What is the general approach to testing?

A

Testing progresses from ‘testing-in-the-small’ to ‘testing-in-the-large’.

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

What are the four steps of the Conventional Testing Strategy?

A
  • Unit Testing
  • Integration Testing
  • Validation Testing
  • System Testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are common stopping factors for testing?

A
  • Deadlines
  • Test cases completed with certain percentage passed
  • Test budget depleted
  • Coverage reaches specified point
  • Bug rate falls below certain level
  • Alpha/beta testing period ends
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the mathematical model f(t) = (1/p) ln [l0 pt + 1] help determine?

A

Expected failures.

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

What is Unit Testing?

A

Testing individual modules or components in isolation.

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

What is a Driver in testing?

A

A ‘main program’ that accepts test case data, passes it to the component, and prints results.

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

What is a Stub in testing?

A

A ‘dummy subprogram’ that replaces modules subordinate to the one being tested.

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

What does Top-Down Integration involve?

A

Main control module used as test driver with stubs for subordinate components.

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

What is Bottom-Up Integration?

A

Low-level components combined into clusters that perform specific functions.

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

What is Regression Testing?

A

Re-executing previously conducted tests to ensure changes haven’t introduced side effects.

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

What is Smoke Testing?

A

Daily testing to uncover ‘show-stopper’ errors early.

17
Q

What does White Box Testing examine?

A

Internal program structure and logic.
Has access to source code and internal workings

Includes: Basis Path Testing
Condition Testing
Loop Testing

18
Q

What is Black Box Testing focused on?

A

Functional requirements without knowledge of internal code.

Includes: Equivalence Partitioning
Boundary Value Analysis

19
Q

What are the characteristics of Testable Software?

A
  • Operability
  • Observability
  • Controllability
  • Decomposability
  • Simplicity
  • Stability
  • Understandability
20
Q

What is a characteristic of good tests?

A

High probability of finding errors.

21
Q

According to software testing principles, what should all tests be traceable to?

A

Customer requirements.

22
Q

Is exhaustive testing possible?

A

No, exhaustive testing is impossible.

23
Q

What is the most effective type of testing?

A

Independent testing.

24
Q

Give three ways of calculating cyclomatic complexity

A

V(G) = Number of regions
V(G) = (Edges - Nodes) + 2
V(G) = Predicate nodes + 1

25
Monkey Testing
Random testing to check if the application crashes with random inputs
26
Context Driven
Testing that considers the product's use in actual environments or contexts (no one size fit all)
27
7 principles of context driven method
1. The value of any practice depends on its context 2. There are good practices in context, but no best practices. 3. People are the most important part of any project’s context 4. Projects are not predictable 5. The product is a solution. If the problem isn’t solved, the product doesn’t work. 6. Good software testing is a challenging intellectual process 7. Only through judgment and skill, exercised cooperatively throughout the entire project, are we able to do the right things at the right times to effectively test our products
28
What is an independent path?
A path that introduces at least one new edge
29
Static testing
Used to find errors early in the development process. Code is NOT executed
30
Dynamic Testing
Used to validate the behavior of the software during runtime. Code is executed during testing.