160 likes | 280 Views
P eer R eview and T esting. 06.01.2004. Scope. What will you know by the end of this training. What are the different reviews and review process? How to choose the review type based on the work product. What are the different types of testing?
E N D
Peer Review and Testing Simpler, Faster, Better 06.01.2004
Scope • What will you know by the end of this training. • What are the different reviews and review process? • How to choose the review type based on the work product. • What are the different types of testing? • How to create test cases for different types of testing. • How to handle constraints during reviews and testing. • How to do causal analysis. Simpler, Faster, Better
What Is Quality? • Producer’s view • Meeting customers’ expectations • Stated • Implied • User’s view • Fitness for purpose • Six sigma definition • Customer satisfaction Simpler, Faster, Better
What Is the Goal of a Software Project? • Detect and eliminate defects • Early • Effectively • Before delivering the products to the customer Simpler, Faster, Better
What Is a Defect? • Deviation from specification • Deviation from expectations Simpler, Faster, Better
Defect Detection Methods • Reviews (static) • Testing (dynamic) Simpler, Faster, Better
Cost of Quality • Cost of prevention • Cost of detection • Cost of rework Simpler, Faster, Better
Cost of Detection • Cost of reviews • Cost of testing • Cost of detection increases exponentially as the project progresses • Cost of testing will be costlier than cost of review Simpler, Faster, Better
Reviews Simpler, Faster, Better
Reviews - Purpose Point out improvements Confirm those parts of a product that do not require improvements Achieve uniform quality in order to make the process more manageable Also used as a supplementary communication mechanism Simpler, Faster, Better
Reviews - Advantage Can be applied early during development stage Less expensive than tests Simpler, Faster, Better
Reviews - Disadvantage Static Dynamic behaviors cannot be studied completely Simpler, Faster, Better
Planning for Reviews Documented plan for reviews should be available Plan should address Objectives Items which need to be reviewed Type of review for each item Schedule Resources Simpler, Faster, Better
Types of Reviews Informal reviews Walkthroughs Formal inspection Formal offline review (FOR) Simpler, Faster, Better
Informal Reviews No set way - no formalities Friends look at the work product before strangers Results are not reported Usually used to ready the product for formal reviews Reviewer could act as the reviser along with author No formal role of a peer review leader Simpler, Faster, Better
Walkthroughs Author guides the progress of the review Usually walks through with a set of user scenarios Step-by-step manipulation of a procedure (or line by line in a code) One (desk walkthrough) or multiple reviewers (structured walkthroughs) at the same time Simpler, Faster, Better