Testing, Inspection, Walkthrough

Slides:



Advertisements
Similar presentations
Object Oriented Analysis And Design-IT0207 iiI Semester
Advertisements

Testing Workflow Purpose
Test process essentials Riitta Viitamäki,
SOFTWARE TESTING. Software Testing Principles Types of software tests Test planning Test Development Test Execution and Reporting Test tools and Methods.
More CMM Part Two : Details.
Developer Testing and Debugging. Resources Code Complete by Steve McConnell Code Complete by Steve McConnell Safari Books Online Safari Books Online Google.
Testing Without Executing the Code Pavlina Koleva Junior QA Engineer WinCore Telerik QA Academy Telerik QA Academy.
Code Inspections CS 414 – Software Engineering I Donald J. Bagert Rose-Hulman Institute of Technology January 23, 2003.
Documentation Testing
SE 450 Software Processes & Product Metrics 1 Defect Removal.
CSC 395 – Software Engineering Lecture 9: Testing -or- How I Stopped Worrying and Learned to Love the Bug.
Software Testing Prasad G.
Software Quality Assurance For Software Engineering && Architecture and Design.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Software Quality Chapter Software Quality  How can you tell if software has high quality?  How can we measure the quality of software?  How.
Extreme Programming Software Development Written by Sanjay Kumar.
Slide 6.1 CHAPTER 6 TESTING. Slide 6.2 Overview l Quality issues l Nonexecution-based testing l Execution-based testing l What should be tested? l Testing.
1 Software Testing (Part-II) Lecture Software Testing Software Testing is the process of finding the bugs in a software. It helps in Verifying and.
Test Organization and Management
1 Software Construction Software Construction Chapter 1.
Test plans CSCI102 - Systems ITCS905 - Systems MCS Systems.
S oftware Q uality A ssurance Part One Reviews and Inspections.
Software Quality Assurance Activities
Software Inspection A basic tool for defect removal A basic tool for defect removal Urgent need for QA and removal can be supported by inspection Urgent.
Unit 8 Syllabus Quality Management : Quality concepts, Software quality assurance, Software Reviews, Formal technical reviews, Statistical Software quality.
Phil Cronin Anne Hill Allen Schones CIS841 Summer on Campus 1998 IN-PROCESS INSPECTIONS FOR OBJECT ORIENTED DESIGNS.
CSCE 548 Code Review. CSCE Farkas2 Reading This lecture: – McGraw: Chapter 4 – Recommended: Best Practices for Peer Code Review,
Software Quality Assurance SE Software Quality Assurance What is “quality”?
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Testing Workflow In the Unified Process and Agile/Scrum processes.
1 Chapter 22 Developer Testing. 2 introduction Testing is the most popular quality-improvement activity Testing is the most popular quality-improvement.
6. Testing and Verification
INFO 637Lecture #101 Software Engineering Process II Review INFO 637 Glenn Booker.
Jump to first page (C) 1998, Arun Lakhotia 1 Quality Assurance: Reviews and Walkthroughs Arun Lakhotia University of Southwestern Louisiana Po Box
Software Testing and Maintenance 1 Code Review  Introduction  How to Conduct Code Review  Practical Tips  Tool Support  Summary.
TESTING LEVELS Unit Testing Integration Testing System Testing Acceptance Testing.
Inspection and Review The main objective of an Inspection or a Review is to Detect Defects. (Today -there may be some other goals or broader definition.
Black Box Testing : The technique of testing without having any knowledge of the interior workings of the application is Black Box testing. The tester.
LOGO TESTING Team 8: 1.Nguyễn Hoàng Khánh 2.Dương Quốc Việt 3.Trang Thế Vinh.
Inspection and Review The main objective of an Inspection or a Review is to detect defects. This activity and procedure was first formalized by Mike Fagan.
Software Quality Assurance and Testing Fazal Rehman Shamil.
 Software Testing Software Testing  Characteristics of Testable Software Characteristics of Testable Software  A Testing Life Cycle A Testing Life.
Advances In Software Inspection
Testing and Debugging. Testing Fundamentals  Test as you develop Easier to find bugs early rather than later Prototyping helps identify problems early.
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
by: Er. Manu Bansal Deptt of IT Software Quality Assurance.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
Software Reviews Ashima Wadhwa.
Software Engineering (CSI 321)
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Software Quality Control and Quality Assurance: Introduction
Software Engineering (CSI 321)
Software Configuration Management (SCM)
Integration Testing.
Software Quality Assurance
Software Verification and Validation
Software Testing.
Software engineering – 1
SWE 3643_2016_Lesson_3 PSP Data / Review / Inspection from kindergarten to college SWE 3643 Lesson 3 PSP & Review/Inspection.
Strategies For Software Test Documentation
Introduction to Software Testing
Peer Reviews 11/21/2018.
Lecture 09:Software Testing
Software Quality Assurance
Inspection and Review The main objective of an Inspection or a Review is to detect defects. (Not for Giving Alternative Solutions) This activity and procedure.
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Unit 1 :Basic Of Software Testing
WALKTHROUGH and INSPECTION
Java & Testing.
OBJECTIVE QUALITY ASSURANCE TESTS TESTING STRATEGIES
Presentation transcript:

Testing, Inspection, Walkthrough Course 2 Testing, Inspection, Walkthrough S. Motogna - Software Quality

How to perform SQ CONTROL? Testing Inspections Walkthroughs Reviews S. Motogna - Software Quality

S. Motogna - Software Quality Testing Process of gathering information by making observations and comparing them to expectations [Dale Emery] Most used quality improvement activity S. Motogna - Software Quality

S. Motogna - Software Quality Testing Black-box: tests the functionality of an application Tester cannot see the inner code White-box: tests internal structures of an application Tester knows the inner code S. Motogna - Software Quality

S. Motogna - Software Quality Testing Unit testing – execution of a complete class/ routine written by a single person, tested in isolation Component testing – execution of a class/ package written by several persons, tested in isolation Integration testing – combined execution of 2 or more classes/ components/ packages/ subsystems created by teams – continuous process Regression testing – repetition of previously executed test cases System testing – execution of the final configuration, including integration with other systems S. Motogna - Software Quality

S. Motogna - Software Quality Debugging  testing? When you find an error (execute test case) => 2-steps process: Determine the location and category of error Fix the error S. Motogna - Software Quality

S. Motogna - Software Quality Testing vs. Debugging Testing Debugging starts with known conditions, uses predefined methods, and has predictable outcomes starts from possibly unknown initial conditions and its end cannot be predicted Performed by testing team Performed by development team Can be automated - Goal: find as many bugs as possible Goal: find and remove a bug Find bugs Find cause of the bug S. Motogna - Software Quality

S. Motogna - Software Quality Testing tools Automate testing process Tool for generating test cases Tool for performing testing: unit, integration, system S. Motogna - Software Quality

S. Motogna - Software Quality Testing Tools xUnit C#, Java, Python Mercury Selenium, Winrunner, QTP Application Center Test (ACT) .NET WebSphere IBM Unit testing Component testing Regression testing S. Motogna - Software Quality

Testing Software Quality Testing – important part of SQA Testing cannot prove error free programs One testing strategy (unit/ component/ integration) – finds  50% errors Combination of testing strategies – finds  60% errors => only testing does not improve SQ Myers classic test: 1 program – 15 errors Average 5 /15 Best  9/15 S. Motogna - Software Quality

S. Motogna - Software Quality Software Inspection Reading or visually inspecting the code best industry practice for detecting software defects early and learning about software artifacts Include: the structured review process, standard of excellence product checklists, defined roles of participants, and the forms and reports Improve reliability, availability and maintainability S. Motogna - Software Quality

Steps in Software Inspection Systematic procedure – all life-cycle Steps System of checklists Roles Forms and reports Planning, Preparation, Entry criteria Conduct Exit criteria Reporting Follow-up Inspection Record Inspection Reporting Form Report Summary Form Moderator Producer Reader Reviewer Recorder Manager Consumer Moderator directs the activities Producer creates materials to be inspected Recorder completes forms Reviewer raise issues S. Motogna - Software Quality

S. Motogna - Software Quality Checklist For: requirements, architecture, specification, design, code, test procedure Contains: completeness, correctness, style, metrics, rules of constructions, multiple views example S. Motogna - Software Quality

Inspection Reporting Form Issue no. Line/Page Checklist Defect Category Defect Type . . . S. Motogna - Software Quality

S. Motogna - Software Quality Report Summary Form Major Minor Defect Type Missing Wrong Extra Interface Logic I/O … Functiona-lity Maintai-nability S. Motogna - Software Quality

S. Motogna - Software Quality Review process diagram (from Galin-SQA) S. Motogna - Software Quality

S. Motogna - Software Quality SQA? Inspections & walkthroughs – finds 30-70% of logic design errors coding errors Inspection - IBM reported an 83% defect detection rate S. Motogna - Software Quality

Inspection vs. Walkthrough formal review used to verify that the artifact complies with the standard of excellence serve the needs of quality management in verifying that the software artifact complies with the standard of excellence Used as an exit criterion Uses a structured review process Involves several roles informal review used to confirm the understanding of the producer serve the needs of the producer or author may be several walkthroughs in each life-cycle activity. yield open issues and action items S. Motogna - Software Quality

Issues related to non-functional properties: Maintainability, evolvability, reusability Properties difficult to test: Scalability, efficiency, security, integrity, robustness, reliability, exception handling Artefacts: requirements, architecture, design documents (cannot “execute” as tests) Inspection vs. Testing S. Motogna - Software Quality

Inspection Benefits: Knowledge sharing Find flaws early Better communication: feedback Drawbacks: Why fix? Why wlakthrough code? / The reviewer will find it Used for HR evaluation Knowledge sharing • Regarding designs and specific software artifacts • Regarding defect detection practices Find flaws early • Can dramatically reduce cost of fixing them • During detail design – even before code is written • Or code that does not yet have a test harness • Or code in which testing has found flaws but root causes are not understood S. Motogna - Software Quality

S. Motogna - Software Quality Code review Definition: an integral process of software development that helps identify bugs and defects before the testing phase Human / automated Code S. Motogna - Software Quality

Code review vs. inspection No difference – some authors Inspection: issues not detected by code review Automated code review: no human feedback Inspection can use code review Code review vs. inspection S. Motogna - Software Quality