Static Techniques And Test Process Flashcards
(26 cards)
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.
What types of defect are reviews better than dynamic testing
Checking standard, identifying inconsistencies, requirements and designs, assessing maintain ability and checking interface specification.
What is a formal review?
Any review with documented procedures and requirements
Why do reviews vary and how?
Formal to informal, systematic, team participation, documented procedures, written instructions…
Main activities of a typical formal review
Planning, KickOff, Individual Preperation, Review Meeting, Re Work, Follow Up
What are the 5 roles of the typical formal review
Manager, moderator, author, scribe, reviewers
Name the 4 types of review, in level of low to high level of formality
Informal,
Walkthrough,
Technical Review,
Inspection
What is an informal review?
One to one discussion with no formal processes, roles or documented record or findings. Eg buddy reviews, pair programming, inexpensive way to get some benefit.
What is walkthrough?
Meeting is led by the author of the document being reviewed, reviewers should prepare their comments before the meeting. A scribe produces the report. Allow time for discussion. Good for highly visual products.
What is a technical review?
Documented, defined defect detection process involved both peers and technical experts, trained moderator leads them. Review from technical view point, discuss make decisions evaluate alternative ones. Review report should be created at the end.