Paul Ammann & Jeff Offutt

Slides:



Advertisements
Similar presentations
Introduction to Software Testing Chapter 1
Advertisements

Introduction to Software Testing Chapter 3.3 Logic Coverage for Source Code Paul Ammann & Jeff Offutt
Introduction to Software Testing Chapter 3.3 Logic Coverage from Source Code Paul Ammann & Jeff Offutt.
Introduction to Software Testing Chapter 1 Paul Ammann & Jeff Offutt SUMMARY OF PARTS 1 AND 2 FROM LAST WEEK.
CITS5501 Software Testing and Quality Assurance Testing – Introduction Material from Introduction to Software Testing, ed 2, Ammann & Offutt.
Introduction to Software Testing Chapter 9.2 Challenges in Testing Software – Software Testability Paul Ammann & Jeff Offutt
Of 23 Generating Automated Tests from Behavioral Models Jeff Offutt (Research with Dr. Nan Li, currently with MediData Solutions) Software Engineering.
DAIMIHenrik Bærbak Christensen1 Testing Terminology.
Paul Ammann & Jeff Offutt
Dr. Pedro Mejia Alvarez Software Testing Slide 1 Software Testing: Building Test Cases.
Introduction to Software Testing Chapter 5.2 Program-based Grammars Paul Ammann & Jeff Offutt
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Explore.
CS 217 Software Verification and Validation Week 6, Summer 2014 Instructor: Dong Si
Introduction to Software Testing Chapter 9.1 Challenges in Testing Software – Testing for Emergent Properties: Safety and Security Paul Ammann & Jeff Offutt.
SWE 637: Test Criteria and Definitions Tao Xie Prepared based on Slides by ©Paul Ammann and Jeff Offutt Revised by Tao Xie.
637 – Introduction (Ch 1) Introduction to Software Testing Chapter 1 Jeff Offutt Information & Software Engineering SWE 437 Software Testing
Today’s Agenda  HW #1  Finish Introduction  Input Space Partitioning Software Testing and Maintenance 1.
1 Introduction to Software Testing. Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Chapter 1 2.
Introduction to Software Testing Paul Ammann & Jeff Offutt Updated 24-August 2010.
Introduction to Software Testing. OUTLINE Introduction to Software Testing (Ch 1) 2 1.Spectacular Software Failures 2.Why Test? 3.What Do We Do When We.
Introduction to Software Testing Chapter 9.2 Program-based Grammars Paul Ammann & Jeff Offutt
Introduction to Software Testing (2nd edition) Chapter 4 Putting Testing First Paul Ammann & Jeff Offutt August.
TESTING FUNDAMENTALS BY K.KARTHIKEYAN.
1 test10b Software Testing Necessary to measure and certify quality in software.
Workshop on Integrating Software Testing into Programming Courses (WISTPC14:2) Friday July 18, 2014 Introduction to Software Testing.
637 – Introduction (Ch 1) Introduction to Software Testing Chapter 1 Jeff Offutt Information & Software Engineering SWE 637 Software Testing
Introduction to Software Testing Model-Driven Test Design and Coverage testing Paul Ammann & Jeff Offutt Update.
Is Mutation Analysis Ready for Prime Time? Jeff Offutt George Mason University Based on the book Introduction.
Software Testing and Quality Assurance Practical Considerations (1) 1.
Introduction to Software Testing (2nd edition) Chapter 5 Criteria-Based Test Design Paul Ammann & Jeff Offutt
Testing: Fundamentals of Making a Good Test Presented by Emerson Murphy-Hill Based on Slides by ©Paul Ammann and Jeff Offutt
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Generating Automated Tests from Behavior Models
Software Testing Introduction CS 4501 / 6501 Software Testing
Introduction to Software Testing Chapter 9.2 Program-based Grammars
Mutation Testing Moonzoo Kim School of Computing KAIST
Paul Ammann & Jeff Offutt
Input Space Partition Testing CS 4501 / 6501 Software Testing
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Jeff Offutt SWE 637 Software Testing
Faults, Errors, Failures CS 4501 / 6501 Software Testing
Beyond Test Automation (Why Are My Tests Dumb?)
Paul Ammann & Jeff Offutt
Introduction to Software Testing Chapter 2 Model-Driven Test Design
Introduction to Software Testing Chapter 9.2 Program-based Grammars
From Spec-based Testing to Test Automation and Beyond
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Introduction to Software Testing
Introduction to Software Testing Chapter 3 Test Automation
Introduction to Software Testing Chapter 5.2 Program-based Grammars
Introduction to Software Testing Chapter 8.5 Logic Coverage for FSMs
Introduction to Software Testing (2nd edition) Chapter 4 TDD Example
Introduction to Software Testing Chapter 3, Sec# 3.5
ISP Coverage Criteria CS 4501 / 6501 Software Testing
Paul Ammann & Jeff Offutt
Paul Ammann & Jeff Offutt
Jeff Offutt SWE 637 Software Testing
Introduction to Software Testing Chapter 5.1 Syntax-based Testing
Software Development Cycle
Mutation Testing Moonzoo Kim School of Computing KAIST
Introduction to Software Testing Chapter 8.5 Logic Coverage for FSMs
Review for Final – Spring 2018
Review for Final – Spring 2019
More Mutation Testing for Source CS 4501 / 6501 Software Testing
Presentation transcript:

Paul Ammann & Jeff Offutt http://www.cs.gmu.edu/~offutt/softwaretest/ Introduction to Software Testing Chapter 1 & 2 Highlights The Fault, Error, & Failure Model Paul Ammann & Jeff Offutt http://www.cs.gmu.edu/~offutt/softwaretest/

Software Faults, Errors & Failures Software Fault : A static defect in the software Software Failure : External, incorrect behavior with respect to the requirements or other description of the expected behavior Software Error : An incorrect internal state that is the manifestation of some fault Faults in software are equivalent to design mistakes in hardware. Software does not degrade. Introduction to Software Testing, Edition 2 (Ch 1) © Ammann & Offutt

Fault & Failure Model (RIPR) Four conditions necessary for a failure to be observed Reachability : The location or locations in the program that contain the fault must be reached Infection : The state of the program must be incorrect Propagation : The infected state must cause some output or final state of the program to be incorrect Reveal : The tester must observe part of the incorrect portion of the program state Introduction to Software Testing, Edition 2 (Ch 2) © Ammann & Offutt

Observed Final Program State RIPR Model Reachability Infection Propagation Revealability Test Final Program State Observed Final Program State Reaches Fault Incorrect Final State Infects Error Program State Propagates The failures can be revealed when the observed final program state has overlap with the incorrect final program state. The question is: should testers check the entire program state? How to observe the incorrect program state in a cost-effective manner. Getting the overlap as big as possible and use the cost as small as possible. Reveals Test Oracles Introduction to Software Testing, Edition 2 (Ch 2) © Ammann & Offutt

Observed Final Program State RIPR Model Reachability Infection Propagation Revealability Test Final Program State Reaches Observed Final Program State Fault Incorrect Final State Infects Error Program State Propagates The failures can be revealed when the observed final program state has overlap with the incorrect final program state. The question is: should testers check the entire program state? How to observe the incorrect program state in a cost-effective manner. Getting the overlap as big as possible and use the cost as small as possible. Reveals Test Oracles Introduction to Software Testing, Edition 2 (Ch 2) © Ammann & Offutt