Lesson 31- Non-Execution Based Testing. October 24, Software Engineering CSCI 4490

Similar documents
Testing. Testing is the most important component of software development that must be performed throughout the life cycle

Skill Category 7. Quality Control Practices

SQA CONCEPT and DEFINITION. 12/08/2006 SE7161 Software Quality Assurance - HLZ 1

What is SQA? Software Quality Assurance. Quality Concepts. Quality Concept (cont.)

Chapter 26. Quality Management

Test s in i g n I Week 14

IBM Continuous Engineering augmenting PLM with ALM and Systems Engineering

Lecture 1: Introduction to Software Quality Assurance. Software Quality Assurance (INSE 6260/4-UU) Winter 2016

Analysis of Software Artifacts

CITS5501 Software Testing and Quality Assurance Standards and quality control systems

Quality Management Lessons of COQUALMO (COnstructive QUALity MOdel) A Software Defect Density Prediction Model

Testing and Inspections (3C05/D22) Unit 11: Testing and Inspection. What is Testing?

Software Inspections and Their Role in Software Quality Assurance

VC SOFTWARE PROJECT MANAGEMENT PLAN

Software Engineering

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

feature Validating and Improving Test-Case Effectiveness

Requirements Verification and Validation

Knowledge Base for Writing Test Cases (Part 1)

Blatant Commercialism

Rational Software White Paper TP 174

9. Verification, Validation, Testing

Teaching Software Quality Assurance in an Undergraduate Software Engineering Program

SOFTWARE QUALITY ASSURANCE (SQA) Chapter 1

1. Can you explain the PDCA cycle and where testing fits in?

SOFTWARE QUALITY IN 2005 A SURVEY OF THE STATE OF THE ART SOURCES OF SPR S QUALITY DATA. SPR clients from 1984 through 2005 BASIC DEFINITIONS

Software Quality Engineering Courses Offered by The Westfall Team

Software Testing : REVIEW and INSPECTION INSPECTION

Better Defect Analysis and Defect Prevention for Software Process Quality Improvement

Software Quality Engineering Courses Offered by The Westfall Team

QUALITY ASSURANCE PLAN OKLAHOMA DEPARTMENT OF HUMAN SERVICES ENTERPRISE SYSTEM (MOSAIC PROJECT)

7. Model based software architecture


The Components of the SW Quality Assurance System - Overview. 08/09/2006 SE7161 Software Quality Assurance Slide 1

R.POONKODI, ASSISTANT PROFESSOR, COMPUTER SCIENCE AND ENGINEERING, SRI ESHWAR COLLEGE OF ENGINEERING, COIMBATORE.

Are You Familiar with QA as Traffic Cop

SE420 Software Quality Assurance

SOFTWARE TESTING REVEALED

T52-Software Engineering

Testing 2. Testing: Agenda. for Systems Validation. Testing for Systems Validation CONCEPT HEIDELBERG

Chapter 6. Software Quality Management & Estimation

Watson Internet of Things. Agile Development Why requirements matter

Lecture 2: Software Quality Factors, Models and Standards. Software Quality Assurance (INSE 6260/4-UU) Winter 2016

Software Testing(TYIT) Software Testing. Who does Testing?

Integration and Testing

WORK PLAN AND IV&V METHODOLOGY Information Technology - Independent Verification and Validation RFP No IVV-B

Quantitative Code Review based on Weighted Checklist

SOFTWARE QUALITY IN 2002: A SURVEY OF THE STATE OF THE ART

Cost-Effective Verification and Validation of Modeling and Simulation

IBM IoT Continuous Engineering on Cloud for US Federal and IBM Collaborative Lifecycle Management on Cloud for US Federal

Standard Glossary of Terms used in Software Testing. Version 3.2. Terms Changed since 01-Feb-2018

INTEGRATING ISO 9000 METHODOLOGIES WITH PROJECT QUALITY MANAGEMENT

SOFTWARE ENGINEERING WITH JAVA

SOFTWARE QUALITY IN 2002: A SURVEY OF THE STATE OF THE ART

SOFTWARE QUALITY IN 2002: A SURVEY OF THE STATE OF THE ART

Software Engineering

Software Quality Aspects of Software Project Management

3C05: Software Quality. Unit 8: Software Quality. What is Quality?

TERSUBSCRIBE. Testing in the lead. E s s e n t i a l f o r s o f t w a r e t e s t e r s. It s FREE for testers. August / 5 v2.

KNOWLEDGE AREA: SOFTWARE QUALITY

Measuring and Assessing Software Quality

V&V = the Verification and Validation of Deliverables

Requirements Validation and Negotiation

Evaluation of the Software Requirement Tools

Led by the Author Attended by a peer group Varying level of formality Knowledge gathering Defect finding

Software verification and validation. Introduction

Software Quality. Unit 6: System Quality Requirements

Software Quality Management

Independent Verification and Validation of SAPHIRE 8 Software Project Plan

Verification & Validation of an Autonomous Quadcopter System

ROEVER ENGINEERING COLLEGE Elambalur,Perambalur DEPARTMENT OF CSE SOFTWARE QUALITY MANAGEMENT

Surviving the Top Ten Challenges of Software Testing

Software Quality Management

What are requirements? Basics of Requirement Engineering. Definition of a Stakeholder. Stated Vs. Real Requirements. Stated Vs.

Get to CMMI ML3 Using Agile Development Processes for Large Projects. Catherine Clark, Business Solutions Architect

Software Engineering. Dr. Raj Singh

SE420 Software Quality Assurance

Avoiding Top Mistakes in Safety Critical Software Development

(c) Addison Wesley Chapter 1. ! Software production is an art. ! Two groups. ! Main causes of software failures

Introduction to Formal Technical Reviews

Supplier Audit Checklist. System & Process Compliance Auditing

REQUIREMENTS QUALITY MANAGEMENT WITHIN THE AIRBUS GROUP

Correlating Product and Process Measures as a Model for Systems Engineering Measurement

Quality Management. Katarzyna Wasielewska-Michniewska, PhD Eng.

For the PMP Exam using PMBOK. PMI, PMP, PMBOK Guide are registered trade marks of Project Management Institute, Inc.

Get to CMMI ML3 Using Agile Development Processes for Large Projects. Catherine Clark, Business Solutions Architect

David. Director of Rational Requirements and Quality Management Products

Enterprise CM Concept To Delivery. Gaston A. Ray Crusader software/hardware Configuration Management

How The HP-UX Systems Networking and Security Lab Assures Quality for Release 11i v2

Practical Process Improvement: the Journey and Benefits

Test Workflow. Michael Fourman Cs2 Software Engineering

PRECISE INDUSTRIES INC. Quality Manual

Copyright Software Engineering Competence Center

ISTQB CTFL BH0-010 Exam Practice Question Paper

Supplier Quality Requirements SQR-1.0 Rev. 3

AS9003A QUALITY MANUAL

"Change is inevitable; except in vending machines."

A USER STORY QUALITY MEASUREMENT MODEL FOR REDUCING AGILE SOFTWARE DEVELOPMENT RISK

SE curriculum in CC2001 made by IEEE and ACM: What is Software Engineering?

Software Quality Assurance Framework (SQA) Yujuan Dou 窦玉娟 2008/11/28

Transcription:

Lesson 31- Non-Execution Based Testing October 24, 2014 1 Software Engineering CSCI 4490

Non-Execution Based Testing (Schach Chap6) Goals of Testing: Does Program Conform to Specification? Does It Meet Customer Expectations? Testing Incorporated Into Every Life-Cycle Phase. Distinguish between: Non-Execution Based (Static) - Walkthroughs/Inspections Execution Based (Dynamic) Testing - Run Test Data Through Prototype/Implementation Software (Chap 15). 5

*Nonexecution-Based (Static) Testing Underlying Principle, Developer Cannot Adequately Review own Work. Why? Static Testing: Don't Execute Program, Instead, Examine Code Detect Faults Before Execution. Consider Errors As Isolated, ie., Error Interactions Not Significant. Less Time Required to Find Each Error - More Cost-Effective Than Dynamic Testing. Two Kinds of Static Testing: 6

Walkthroughs A walkthrough team consists of from four to six members It includes representatives of The team responsible for the current workflow The team responsible for the next workflow The SQA group The walkthrough is preceded by preparation Lists of items Items not understood Items that appear to be incorrect The McGraw-Hill Companies, 2011 7

*Managing Walkthroughs The walkthrough team is chaired by the SQA representative In a walkthrough we detect faults, not correct them. Why not? The McGraw-Hill Companies, 2011 8

Managing Walkthroughs (cont.) A walkthrough should be document-driven, rather than participant-driven Participants trace workflow artifact (specification, design, code, etc.) line by line, explain logical flow of document Verbalization leads to fault finding A walkthrough should never be used for performance appraisal! The McGraw-Hill Companies, 2011 9

*Inspections An inspection has five formal steps Overview Preparation Inspection Rework Follow-up The McGraw-Hill Companies, 2011 10

*Inspections (cont.) An inspection team has four members (Schach) (IEEE standard recommends 3 6) The McGraw-Hill Companies, 2011 11

*Recording Faults Checklist should be used for uncovering potential faults Faults are recorded by severity Example: Major or minor Faults are recorded by fault type Examples of design faults: The McGraw-Hill Companies, 2011 12

Getting it Right- How Do We Know? Verification: At the end of each phase Determine if phase properly carried out. Validation: Before delivering final product to client Is end product what the client specified? 13

Requirements Verification Q: How can we verify that requirements have been met? 14

Requirements Validation Q: How can we validate that requirements have been met? 15

Analysis Verification Every item in the analysis artifacts must be traceable to an item in the requirements artifacts Similarly for the design and implementation artifacts Automated tools (such as Telelogic DOORS) used to index and cross-reference requirements document and specification Can use Excel for providing traceability on course project 16

Design Verification How to verify Design Workflow? 17 Software Engineering CSCI 4490

Implementation Verification Q: How to verify component implementation? 18

Integration Verification How to verify System Integration? Traceability of artifacts is important requirement for successful testing 19

*Fault Metrics What kinds of Metrics are meaningful for Code Inspections? What could a 50% increase in the fault detection efficiency mean? 20

Use of Fault Metrics For a given workflow, we compare current fault rates with those of previous products We take action if there are a disproportionate number of faults in an artifact We carry forward fault statistics to the next workflow The McGraw-Hill Companies, 2011 21

*Statistics for Non-Execution-Based Testing->Inspection 93% of all detected faults found during inspection (IBM, 1986) Cost of detecting fault decreased by 90% (Switching sys 1986) 4 major faults, 14 minor faults per 2 hours (JPL, 1990). Savings of $25,000 per inspection # faults detected decreased exponentially by phase (JPL, 1992) Any special considerations for use of fault statistics? 22

~*Focus on Value of Code Inspections Average effort to detect defects in hours per defect. Increasing implementation of inspections has moved rework to earlier in the lifecycle 23

Summary Goals of Testing Non-Execution vs. Execution-Based Testing Two Types of Static Testing- Code Walkthroughs Inspections Verification vs. Validation Fault Metrics Non-Execution Based Testing Value 24