Static Techniques and the Software Test Process Flashcards
What is static testing?
This is done before the software is executed. You can use this type to find defects in the early stages of software development.
What is dynamic testing?
Involves executing the software product while testing. The goal is to detect runtime defects and analyze the output.
What is static analysis?
This involves reviewing source code and the use of automated tools that reduce the time and labour cost of going through each code snippet.
Tests the code before the system is built.
What are the three main techniques used when performing Dynamic testing?
- Specification-based
- Structure-based
- Experience-based
What are the main differences between static and dynamic testing?
- Static testing is applicable to any software product , while dynamic is only applicable to executable programs.
- Static testing offers more financial scheduling benefits compared to dynamic
- Static testing is performed during the early stages of development wheras dynamic is performed during runtime.
- Adherence to coding standards can be checked during static testing but cannot be during dynamic
What are the four types of review you can perform during static testing?
- Walkthrough
- Technical
- Informal
- Inspection
What is an informal review?
This is where the author of a document requests a peer or techincal lead in the same domain to take a flance at the document an validate it.
What is the purpose of a walkthrough during a review?
This is to obtain a common understanding of the document under review. It’s main purpose is to seek consensus and a fresh perspective from a diverse team.
What is a technical review?
This is more process orientated. Normally taken by a team made up of technical experts. The purpose is to ensure that technical concepts, models and standards are accurate and valid for the product.
What is an inspection during a review?
An inspection follows a defined process with clear roles and responsibilities assigned to the review team and led by a trained moderator.
Using rules and checklists , and insection team records all defects in an inspection report.
They also track whether corrective measures were undertaken and closed.
What is the success of a review dependant on?
- Defined Objectives
- The nature of the review team
- How defects are communicated
- The review techniques used
- The review process
What are the six stages of a formal review process?
- Planning
- Kick-off
- Preperation
- Review Meeting
- Rework
- Follow-up
What are the defined roles within the formal review process?
- Manager
- Moderator
- Author
- Reviewers
- Scribe
At what point in the software development lifecycle can static analysis be performed?
- Analysis and Design
- Code Generation
What kind of defects can static analysis uncover?
- Undefined values in variables
- Unreachable or dead code
- varitation errors in interface
- nonadherence to standards
- code vulnerability
- programming language errors