Testing Flashcards
(30 cards)
What is Software Testing?
The process of exercising a program with the intent of finding errors before delivery to the end user.
What does testing show?
Errors, requirements conformance, performance, and an indication of quality.
What are the limitations of testing?
Testing alone cannot ensure quality; it can only provide a certain level of assurance under specific controlled conditions.
Who is responsible for unit/component testing?
Developers.
What is the role of the Independent Test Group (ITG)?
Removes conflict of interest; attempts to break the system and is driven by quality concerns.
What is the general approach to testing?
Testing progresses from ‘testing-in-the-small’ to ‘testing-in-the-large’.
What are the four steps of the Conventional Testing Strategy?
- Unit Testing
- Integration Testing
- Validation Testing
- System Testing
What are common stopping factors for testing?
- 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
What does the mathematical model f(t) = (1/p) ln [l0 pt + 1] help determine?
Expected failures.
What is Unit Testing?
Testing individual modules or components in isolation.
What is a Driver in testing?
A ‘main program’ that accepts test case data, passes it to the component, and prints results.
What is a Stub in testing?
A ‘dummy subprogram’ that replaces modules subordinate to the one being tested.
What does Top-Down Integration involve?
Main control module used as test driver with stubs for subordinate components.
What is Bottom-Up Integration?
Low-level components combined into clusters that perform specific functions.
What is Regression Testing?
Re-executing previously conducted tests to ensure changes haven’t introduced side effects.
What is Smoke Testing?
Daily testing to uncover ‘show-stopper’ errors early.
What does White Box Testing examine?
Internal program structure and logic.
Has access to source code and internal workings
Includes: Basis Path Testing
Condition Testing
Loop Testing
What is Black Box Testing focused on?
Functional requirements without knowledge of internal code.
Includes: Equivalence Partitioning
Boundary Value Analysis
What are the characteristics of Testable Software?
- Operability
- Observability
- Controllability
- Decomposability
- Simplicity
- Stability
- Understandability
What is a characteristic of good tests?
High probability of finding errors.
According to software testing principles, what should all tests be traceable to?
Customer requirements.
Is exhaustive testing possible?
No, exhaustive testing is impossible.
What is the most effective type of testing?
Independent testing.
Give three ways of calculating cyclomatic complexity
V(G) = Number of regions
V(G) = (Edges - Nodes) + 2
V(G) = Predicate nodes + 1