3.1 Static testing basics Flashcards
What is static testing?
the software under test does not need to be executed.
Code, process specification, system architecture specification or other work products are evaluated
through manual examination (e.g., reviews) or with the help of a tool (e.g., static analysis)
What are test objectives of static testing?
improving quality, detecting defects and assessing characteristics like readability, completeness,
correctness, testability and consistency. Static testing can be applied for both verification and validation
Who collaborates during example mappings, collaborative user story writing, and backlog refinement sessions?
Testers, business representatives, and developers.
What is the purpose of example mappings, collaborative user story writing, and backlog refinement sessions?
To ensure that user stories and related work products meet defined criteria, such as the Definition of Ready.
What techniques can be applied to ensure user stories are complete and understandable?
review techniques
What roles do testers play in the user story process?
testers, explore, challenge and help improve proposed user storied by asking the right questions
What can static analysis identify prior to dynamic testing?
problems in the code
Evaluating maintainability and security
Why does static analysis often require less effort than dynamic testing
because it does not require test cases and typically uses tools
Into what frameworks is static analysis often incorporated?
continuous integration (CI) frameworks
What are some examples of static analysis tools?
Spelling checkers and readability tools.
What types of work products can be examined using static testing?
Requirement specification documents
source code
test plans
test cases
product backlog items
test charters
project documentation
contracts
models.
Can any work product be the subject of a review?
Yes, any work product that can be read and understood can be the subject of a review.
What is necessary for a work product to be suitable for static analysis?
The work product needs a structure against which it can be checked, such as models, code, or text with a formal syntax.
What are examples of work products not appropriate for static testing?
Work products that are difficult to interpret by human beings and that should not be analyzed by tools, such as 3rd party executable code due to legal reasons.
What principle does static testing fulfill by detecting defects in the earliest phases of the SDLC?
The principle of early testing.