1 Software Testing and Quality Assurance Lecture 10 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)

Slides:



Advertisements
Similar presentations
Software Engineering of Standalone Programs University of Colorado
Advertisements

Unit Testing in the OO Context(Chapter 19-Roger P)
Object-oriented Software Change Dynamic Impact Analysis Lulu Huang and Yeong-Tae Song Dept. of Computer and Information Sciences Towson University Towson,
1 Software Testing and Quality Assurance Lecture 13 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Solutions to Review Questions. 4.1 Define object, class and instance. The UML Glossary gives these definitions: Object: an instance of a class. Class:
Unified Modeling Language
Paul Deitel, CEO Deitel & Associates, Inc.. Contact Information  Paul Deitel, CEO  Deitel & Associates, Inc.  Twitter:  Facebook:
Object-Oriented Analysis and Design
Introduction To System Analysis and Design
1 Software Testing and Quality Assurance Lecture 12 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)
7M701 1 Software Engineering Object-oriented Design Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 12 )
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
Software Testing and Quality Assurance
Software Testing and Quality Assurance: The Testing Perspective Reading Assignment: –John McGregor and David A. Sykes, A Practical Guide to Testing Object-Oriented.
1 SWE Introduction to Software Engineering Lecture 23 – Architectural Design (Chapter 13)
Software Testing and Quality Assurance
1 Software Testing and Quality Assurance Lecture 24 – Testing Interactions (Chapter 6)
November 13, 2006ECEN 5543 / CSCI 5548 – Testing OO University of Colorado, Boulder 1 Testing Object-Oriented Software Principles Summary ECEN 5543 / CSCI.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
1 Introduction to C++ Programming Concept Basic C++ C++ Extension from C.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Object Oriented Programming
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
1 Object-Oriented Testing CIS 375 Bruce R. Maxim UM-Dearborn.
BCS 2143 Introduction to Object Oriented and Software Development.
MT311 Java Application Development and Programming Languages Li Tak Sing( 李德成 )
CS212: Object Oriented Analysis and Design Lecture 1: Introduction.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
1 CS 456 Software Engineering. 2 Contents 3 Chapter 1: Introduction.
© 2005 course technology1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard Podeswa.
What Is Object-Orientation?
Introduction To System Analysis and Design
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
CSE 7314 Software Testing and Reliability Robert Oshana Lecture 20
Computer Science II 810:062 Section 01. How is CS I different from CS II? When you teach Java there are a series of decisions that have to be made…
Introduction To System Analysis and Design
1 Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Chapter 2: Object Basics Object-Oriented Systems Development Using the Unified Modeling.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 13 Introduction to Classes.
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
Data Structures Using C++1 Chapter 1 Software Engineering Principles and C++ Classes.
Definition of Object - Oriented Language.. Object-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions"
1/26 On-demand Learning Series Software Engineering of Web Application - Object-Oriented Development & UML Hunan University, Software School.
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
Chapter 8 Lecture 1 Software Testing. Program testing Testing is intended to show that a program does what it is intended to do and to discover program.
© 2004 Pearson Addison-Wesley. All rights reserved September 14, 2007 Anatomy of a Method ComS 207: Programming I (in Java) Iowa State University, FALL.
Software testing techniques Software testing techniques Object-oriented software testing Presentation on the seminar Kaunas University of Technology.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 12 Object-Oriented Programming Starting Out with Games & Graphics.
Chapter 8 Testing. Principles of Object-Oriented Testing Å Object-oriented systems are built out of two or more interrelated objects Å Determining the.
Chapter 24 객체지향 응용프로그램 테스팅 Testing Object-Oriented Applications 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim for the book.
1 Lecture 15: Chapter 19 Testing Object-Oriented Applications Slide Set to accompany Software Engineering: A Practitioner’s Approach, 7/e by Roger S. Pressman.
CMSC 345 Fall 2000 OO Design. Characteristics of OOD Objects are abstractions of real-world or system entities and manage themselves Objects are independent.
Introduction To OOP 1.0 Fundamentals Of Java Programming Language 2.0 Exception Handling 3.0 Classes, Inheritance And Polymorphism © 2011 | PN AZRINA.
1 CSE Programming in C++. 2 Overview Sign roster list Syllabus and Course Policies Introduction to C++ About Lab 1 Fill Questionnaire.
McGraw-Hill/Irwin© 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 17 Object-Oriented Design and Modeling Using the UML.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 14b: Software Testing Techniques Software Engineering: A Practitioner’s Approach, 6/e Chapter.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
A Survey of Object-Oriented Concept Oscar Nierstrasz.
Programming paradigms
ATM OO Design and Implementation Case Study
Object-Oriented Analysis and Design
Chapter 8 – Software Testing
Object Oriented Concepts -I
Chapter 24 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Presentation transcript:

1 Software Testing and Quality Assurance Lecture 10 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)

2 Lecture Outline Testing perspective Object-Oriented Concepts Object Message Interface

3 Testing Perspective A way of looking at any development product and questioning its validity. Person examining work products from this perspective utilizes A thorough investigation of the software; and All its representations to identify faults.

4 Testing Perspective Requires that a piece of software demonstrate that It not only performs according to is specification, but Performs only to that specification. A product is tested to determine that it will do what it is supposed to do, and it is also tested to ensure that it does not do what it is not supposed to do.

5 Testing Perspective Skeptical Wants proof of quality Objective Makes no assumptions Thorough Does not miss important areas Systematic Searches are reproducible

6 Object Oriented Concepts - Testing Perspective OO programming is centered around Object Message Interface Class Inheritance Polymorphism

7 Object Oriented Concepts - Testing Perspective There are wide range of meanings for these concepts. For example, Distinction between operations and methods is not significant for most programmers.

8 Object Oriented Concepts - Testing Perspective The distinction is significant to tester because the approach to testing an operation, which is part of class specification and a way to manipulate an object, is somewhat different from testing a method, which is a piece of code that implements an operation.

9 Object - Testing Perspective An object is an operational entity that encapsulates both specific data values and code that manipulates those values. For example, The data about a specific bank account and the operations needed to manipulate that data form an object.

10 Object - Testing Perspective Objects are the direct target of the testing process during software development. The life cycle for an object begins when it is created, proceeds through a series of status, and ends when the object is destroyed.

11 Object - Testing Perspective An object encapsulates and hides information. An object has a state that persists for the life of the object. Testers care about: Whether the object behaves according to its specification. Whether it interacts appropriately with collaborating objects in an executing program.

12 Message- Testing Perspective A message is a request that an operation be performed by some object. OO is a community of objects that collaborative by sending messages to one another. A message has a sender (originating a message). A message has a receiver (receiving the message).

13 Message- Testing Perspective A message may include actual parameters. Some messages result in some form of reply such as: return value and exception. Testers care about: Senders Receivers Parameters

14 Key points Testing perspective: a way of looking at any development product and questioning its validity. Testing perspective is: Skeptical, Objective, Thorough; and Systematic.