3.1.3 Differences between Static Testing and Dynamic Testing Flashcards
1
Q
Static testing and dynamic testing practices complement e…
They have similar objectives like supporting the detection of “ “ in w… but there are some d…
A
each other.
defects
work products
differences too.
2
Q
- Static testing and dynamic testing (with analysis of failures) can both lead to the d… ; however, there are some d… that can only be found by either “ “ or d…
A
- detection of defects
defect types
static
dynamic testing.
3
Q
- Static testing finds defects directly, while d… causes failures from which the a… are determined through s…
A
- dynamic testing
associated defects
subsequent analysis.
4
Q
- Static testing may more easily detect defects that l… through the “ “ that are rarely “e…“ or h… using d…
A
- lay on paths
code
executed
hard to reach
dynamic testing.
5
Q
- Static testing can be applied to n… while d… can only be applied to e…
A
- non-executable work products,
dynamic testing
executable work products.
6
Q
- Static testing can be used to measure q… that aren’t dependent on e… (e.g. “ “), while d… can be used to measure q… that are dependent on e… (e.g. p… ).
A
- quality characteristics
executing code
maintainability
dynamic testing
quality characteristics
executing code
performance efficiency
7
Q
Typical defects that are easier and/or cheaper to find through static testing include:
- def… (e.g.
- “incon…”
- “amb…”
- “cont…”
- “omi…”
- “inac…”
- “dup…” )
A
- Defects in requirements
- inconsistencies
- ambiguities
- contradictions
- omissions
- inaccuracies
- duplications
8
Q
- Design d… (e.g.
- inefficient d…
- poor “m…” )
A
- defects
- database structures
- modularization
9
Q
- Certain types of c… (e.g.
- variables with u…
- undeclared “ “
- unreachable or d…
- excessive c…
A
- coding defects
- undefined values
- variables
- duplicated code
- code complexity)
10
Q
- Deviations from “ “ (e.g. lack of “a…” to n… in c…
A
- standards
- adherence
naming conventions
coding standards)
- adherence
11
Q
- Incorrect interface “s…”
- (e.g. mismatched “ “, “t…“ or o… )
A
- specifications
- number
type
order of parameters
- number
12
Q
- Specific types of s… (e.g. buffer “ “)
A
- security vulnerabilities
overflows
13
Q
- Gaps of “ “ in t… (e.g. missing tests for an a… )
A
- inaccuracies
test basis coverage
acceptance criterion