










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











•Detect defects. •Remove defects as close to the point of insertion as possible. •Determine product progress/status. •Identify potential improvements. •Produce technical work of a more uniform and predictable quality. •Assist employees with cross-training. •Reduce costs to build and maintain better products. •Reduce development time. •Reduce testing cost and time. •Reduce total system maintenance cost dramatically (as much as 10 to 1 according to recent statistics). - answer Why should we conduct reviews? A buddy check is normally thought of as an informal verification technique in which the life-cycle work product
is examined by the author and one other person. The objectives of buddy checks include: •Improve the life-cycle work product; •Consider alternative implementations; •Exchange techniques and style variations; •Point out problems with clarity and understandability; •Allow the author to look at the life-cycle work product from a different "angle" or point of view; •Mentoring of others in the concepts embedded in the life-cycle work product. - answer What is a buddy check? Circulation reviews take on attributes of both buddy checks and walkthroughs. Circulation reviews can be informal or follow strict rules. The life-cycle work product is circulated to each reviewer who reviews it and either attaches comments, questions, and recommendations directly on the life-cycle work product or places them into a separate document. The objectives of circulation reviews include: •Improve the life-cycle work product; •Consider alternative implementations; •Point out problems with clarity and understandability; •Point out areas of concern and offer comments and suggestions;
The author is not allowed to act as the moderator. Written action on all major defects is mandatory. Rework due to corrections of major defects is formally verified. Defect data is systematically collected and stored in an inspection database. This defect data is analyzed to improve the product, the process, and the effectiveness of the inspection process. The objective of an inspection is to detect and identify life-cycle work product defects in a rigorous, formal, peer examination that does the following: •Verifies that the life-cycle work product satisfies both its specificat - answer What is an inspection? Walkthroughs were designed to be a less formal verification technique in which life-cycle work products are examined by a group of peers for the purpose of finding defects, omissions, and contradictions. The walkthrough is normally led by the author or the producer of the material being reviewed. As the walkthrough progresses, errors, suggested changes, and improvement suggestions are noted and documented. The consolidated notes are taken by the author for review and revision as the author sees fit. The objectives of walkthroughs in addition to detecting defects are to:
•Improve the life-cycle work product; •Consider alternative implementations; •Point out efficiency and readability problems, or modularity problems if the life-cycle work product is code; •Exchange techniques and style variations; •Educate the participants. - answer What is a walkthrough? Structured walkthroughs are more closely aligned with inspections than the informal walkthrough. One can think of doing a walkthrough while using many of the inspection requirements such as: •Ensuring that each participant has individually prepared for the structured walkthrough and is prepared with a listing of major and minor defects before coming to the face-to-face part of the structured walkthrough; •Having roles and responsibilities preplanned such as recorder, reviewer, and any special roles; •Controlling the checking and logging rate; •Concentrating on major defects; •Restricting the structured walkthrough to presenting and consolidating a list of major and minor defects and not allowing solution discussions;
do with the person. - answer What is the key testing principle that "testing is creative and difficult"? Testing is an intricate set of activities that must be planned just like any other project activity. Planning for testing, including the testing environment, is not a trivial task and should not be minimized. The following aspects should be considered for every test: •Test philosophy and criticality; •Objectives and completion criteria; •Methods; •Responsibilities and people involved; •Resources and test tools; •Budget; •Schedule; •Documentation; •Problem recording; •Problem fixing. - answer What is the key testing principle that "testing must be planned"? Although unit testing or "white box" testing is normally carried out by the developers, integration and systems testing requires individuals who are independent from the project developers. It is not human nature for a developer to conduct unit testing and show his boss the defects that
were found during that exercise, and then put on a systems test hat and show his boss all of the defects that he found on his components during systems testing. Objective evaluations are required for effective systems testing. - answer What is the key testing principle that "testing requires independence"? A necessary part of a test case is a definition of the expected output or result. - answer What is the key testing principle of "expected results"? Test cases must be written for invalid and unexpected input conditions as well as for valid and expected input conditions. - answer What is the key testing principle of "invalid and unexpected input conditions"? Examining a program to see if it does what it is supposed to do is only half of the battle. The other half is seeing whether the program does what it is not supposed to do. In other words, we do not want programs to have functionality for which there were no agreed-on requirements. - answer What is the key testing principle of "what is the program expected to do"? The probability of the existence of more errors in a section of a program is proportional to the number of errors already found in that section. This tautology is often perplexing for developers. If their testing efforts result in a large number of defects found, they want to be
•Are any functions missing? •Does the module do everything specified? •Has any unplanned functionality been added? - answer What is unit testing? The objective of integration testing is to test component interfaces and confirm that the components meet the interface requirements and that the components can indeed be assembled. The product components need to be checked for quantity, obvious damage to hardware components, and consistency between the product component and the interface descriptions. Integrations and systems test engineers want to obtain a working skeleton as rapidly as possible and establish the confidence that the skeleton parts interface correctly. Integration testing also normally includes demonstrating that simple test cases and transactions are being handled properly by the system. - answer What is integration testing? Systems testing is the first time at which the entire system can be tested against the systems requirements specification. Systems testing measures and determines what the system capabilities are and ends when the system capabilities have been measured and enough of the problems have been corrected to have confidence that the acceptance is ready to be executed. Systems test planning covers types of testing to be performed, test strategies, test coverage approaches, methods for
tracing requirements to test cases, and reliability metrics.
on test coverage, statement coverage is completely insensitive to the logical operators (||and &&) and it cannot distinguish consecutive "switch" labels. - answer What is statement coverage? Decision coverage measures whether Boolean expressions tested in control structures (such as if- statements or while-statements) are evaluated to both true and false. The entire Boolean expression is considered one true-or-false predicate regardless of whether it contains logical "and" or logical "or" operators.
among conditions that have similar complexity. - answer What is multiple condition coverage? Path coverage measures whether each of the possible paths in each function has been followed. Path coverage has the advantage of requiring very thorough testing but it also has two disadvantages: •The number of paths is exponential to the number of branches. A function containing 10 if-statements has 1,024 paths to test—adding one more doubles the count to 2,048. •Many paths are impossible to exercise due to relationships of data. - answer What is path coverage? Once the readiness criteria of the product components have been established, the actual process of integrating these product components can commence. This is normally expected to be done in an iterative fashion from the initial product components, through the interim assembly of product components, to the product as a whole. The readiness of the product integration environment should be ensured and the product components assembled according to the product integration sequence and integration procedures. - answer What is assembly of product components?
ensures that the project built the product right. Methods of verification include, but are not limited to: •Inspections; •Peer reviews; •Audits; •Walkthroughs; •Analysis; •Demonstrations; •Comparisons; •Path coverage testing; •Simulations; •Functional testing; •Qualification testing; •Factory testing; •First article qualification; •Bench testing; •Load, stress, and performance testing; •Operational scenario testing; •Observations and demonstrations. - answer What are verification techniques and methods? System testing can be defined as measuring a product component's performance while installed in a real or
reasonable approximation of a functional system. Bench testing, in contrast, is defined as the insertion of a product component into a test loop where all of the variables can be independently controlled, measured, and recorded. - answer What is systems testing versus bench testing? System validation is an end-to-end process that is needed to ensure that the completed and integrated system will operate as needed in the environment for which it was intended. It can be defined as a measure of customer satisfaction, given the customer's operational need and profile. System validation must always take into account the customer/end user during testing. - answer What is system validation? Acceptance testing may satisfy the final verification and validation criteria. The purpose of acceptance testing is to confirm that a product or product component is ready for operational use. The acceptance test is performed for, or in conjunction with, someone else to demonstrate that the confidence is justified. The primary quality factors addressed are usability and reliability in order to answer the question "Will the product or product component support operational use?" Acceptance testing should also include the review of user documentation to verify its technical correctness compared to the system functionality, its completeness, and its ease of use. - answer What is acceptance testing?