Static Techniques And Test Process Flashcards
Two types of static testing
Reviews and static analysis.
What are reviews?
Manual examination of documents (done by humans)
What is static analysis?
Automated analysis of source code and software models - done by tools
What is static testing?
Is the examination of program source code or other project documentation, with executing the code(running it I think), to find defects.
What is the objective of review and static analysis? Is it the same as dynamic testing?
Identifying defects.
Same as dynamic.
Dynamic testing finds failures which may be caused by defects, what does static techniques?
Finds causes of failures (defects) directly, they are complementary techniques(static/dynamic)
Any written project document or software product can be reviewed, typical documents include…
Business requirements. Functional specifications. Systems and database design. Source code. test plans, test cases, and scripts. User guides, help text. Web pages.
Which testing is cheaper?
Static
Regarding quality what does static and dynamic testing?
Static - adds quality to software
Dynamic - checks the quality of software
When is static testing performed?
Early in the lifecycle before the software is executed
When does dynamic testing get performed?
Late in lifecycle after software is written.
Why is it best to find defects early in a project?
Cheaper to fix than ones found later on.
Benefits of conducting reviews…
Early defect detection and correction. Increased development productivity. Reduced development cost and timescales. Fewer defects in code: reduced cost and time of dynamic testing. Improved communication between testers, analysts, developers and users. Conformance to standards leading to improved maintain ability of code and documents.
What is the main aim of the (goals) of the review process.
Check and improve the quality of project products:
Verification and validation of documents against specifications and standards. Consistency with predecessor documents. Completeness and conformance standards. O
What type of defects should testers identify through reviews
Errors, omissions, additions, inconsistencies, ambiguities, readability, terminology, spelling, grammar layout and structure.