Test Design Techniques ISTQB (International Software Testing Qualifications Board)

Similar documents
1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake

Test design techniques

Sample Exam Syllabus

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Examination Questions Time allowed: 1 hour 15 minutes

Software Testing MANUAL TESTING. Introduction to Testing. Software Quality Software Testing Definition. Different Life Cycle Models Waterfall Model

Risk-Based Testing & Test-Driven Development


[IT6004-SOFTWARE TESTING] UNIT 2

Certified Tester Foundation Level(CTFL)

Software Testing

Sample Questions ISTQB Foundation Answers

Standard Glossary of Terms Used in Software Testing. Version 3.01

ISTQB-ISEB Certified Tester Foundation Level

Diploma in Software Testing (DST)

Learn Well Technocraft

Software processes, quality, and standards Black box testing

Testing: Test design and testing process

UNIT-4 Black Box & White Box Testing

SOFTWARE TESTING FOUNDATION COURSE CURRICULUM

UNIT-4 Black Box & White Box Testing

Standard Glossary of Terms used in Software Testing. Version 3.2. Beta - Foundation Terms

Standard Glossary of Terms Used in Software Testing. Version 3.01

Diploma in Software Testing 2.0 (HP)

STUDY ON VARIOUS PHASES OF SOFTWARE TESTING LIFE CYCLE

Key Features. Defect Rates. Traditional Unit testing: 25 faults / KLOC System testing: 25 / KLOC Inspections: / KLOC

USTGlobal INNOVATION INFORMATION TECHNOLOGY. Using a Test Design Tool to become a Digital Organization

Software Testing Tools

Standard Glossary of Terms used in Software Testing. Version 3.2. Advanced Test Automation - Engineer Terms

7.0 Test Design Techniques & Dynamic Testing

Mind Q Systems Private Limited

Software Testing. Minsoo Ryu. Hanyang University. Real-Time Computing and Communications Lab., Hanyang University

10. Software Testing Fundamental Concepts

Introduction to Software Engineering

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

13/11/2017. Meltem Özturan misprivate.boun.edu.tr/ozturan/mis515

2016 / 2017 Model-based Testing User Survey: Results

Assignment - 1. Why we need Test plan and what are the elements that it identifies?

System Models. Minsoo Ryu. Hanyang University. Real-Time Computing and Communications Lab., Hanyang University

Sofware Requirements Engineeing

Manual Testing. Software Development Life Cycle. Verification. Mobile Testing

BUILDING GOOD-QUALITY FUNCTIONAL SPECIFICATION MODEL

ISTQB Advanced Level (CTAL)

Sample Question Paper. Software Testing (ETIT 414)

Software Verification and Validation

Testing & Symbolic Execution

V&V: Model-based testing

In this Lecture you will Learn: Testing in Software Development Process. What is Software Testing. Static Testing vs.

Case Study: Financial Institution Deploys Conformiq 360 Test Automation to Test at the Speed of Agile Development

Software Testing. Software Testing. in the textbook. Chapter 8. Verification and Validation. Verification Techniques

VETRI VINAYAHA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

UML 2.0 UML 2.0. Scott Uk-Jin Lee. Division of Computer Science, College of Computing Hanyang University ERICA Campus

Software Engineering Software Testing Techniques

Software Testing Interview Question and Answer

Software Testing. Testing 1

People tell me that testing is

Advanced Tester Certification Test Manager

Unified Modeling Language - UML

It is primarily checking of the code and/or manually reviewing the code or document to find errors This type of testing can be used by the developer

Ingegneria del Software Corso di Laurea in Informatica per il Management

Higher-order Testing. Stuart Anderson. Stuart Anderson Higher-order Testing c 2011

Module 1 : Fundamentals of Testing. Section 1: Manual Testing

Standard Glossary of Terms used in Software Testing. Version 3.2. Foundation Extension - Usability Terms

Structural Testing. Testing Tactics. Why Structural? Structural white box. Functional black box. Structural white box. Functional black box

Lecture 17: Testing Strategies. Developer Testing

Week 9 Implementation

QA Best Practices: A training that cultivates skills for delivering quality systems

Types of Dynamic System Testing. Testing Practice. Lecture 9

Software Testing Fundamentals. Software Testing Techniques. Information Flow in Testing. Testing Objectives

Contents Contents 1 Introduction Entity Types... 37

DST - DIPLOMA IN SOFTWARE TESTING

Structural Testing. Testing Tactics. Why Structural? Structural white box. Functional black box. Structural white box. Functional black box

How to Improve Test Team Effectiveness Using Test Entities

CTAL. ISTQB Advanced Level.

White Box Testing with Object Oriented programming

Model Driven Testing Overview

STATE MACHINES. Figure 1: State Machines

CS 4387/5387 SOFTWARE V&V LECTURE 4 BLACK-BOX TESTING

Testing Tactics. Structural Testing. Why Structural? Why Structural? Functional black box. Structural white box. Functional black box

Software Reuse and Component-Based Software Engineering

Minsoo Ryu. College of Information and Communications Hanyang University.

Best Practices Process & Technology. Sachin Dhiman, Senior Technical Consultant, LDRA

Copyright 2013 by AGILOD Consulting, LLC. All Rights Reserved. Test Automation. Done The AGILOD Way

Standard Glossary of Terms used in Software Testing. Version 3.1. Advanced Security Tester Terms

Testing, Fuzzing, & Symbolic Execution

Mind Q Systems Private Limited

Expert Test Manager: Operational Module Course Outline

Part 5. Verification and Validation

Equivalence Class Partitioning and Boundary Value Analysis -Black Box Testing Techniques

Quote by Bruce Sterling, from: A Software Testing Primer, Nick Jenkins

Software Testing for Developer Development Testing. Duvan Luong, Ph.D. Operational Excellence Networks

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur

Software Testing. An Overview

Lecture 15 of unit 2 on us discussed both those testing methods in test selections criteria in previous session, (Refer Slide Time: 00:23)

Topic: Software Verification, Validation and Testing Software Engineering. Faculty of Computing Universiti Teknologi Malaysia

Example of a Process in Use in an Organization

a. The following method would allow an object of the static type List<String> to be passed to it as an argument.

Lecture 26: Testing. Software Engineering ITCS 3155 Fall Dr. Jamie Payton

No Source Code. EEC 521: Software Engineering. Specification-Based Testing. Advantages

Compatible Qualification Metrics for Formal Property Checking

Transcription:

Test Design Techniques ISTQB (International Software Testing Qualifications Board) Minsoo Ryu Hanyang University

Testing Process Planning and Control Analysis and Design Implementation and Execution Evaluating Exit Criteria and Reporting Test Closure Activities 2 2

Planning and Control Test planning for the most part occurs at the initiation of the test effort and involves the identification and implementation of all of the activities and resources required to meet the mission and objectives identified in the test strategy Test control is an ongoing activity It involves comparing actual progress against the plan and reporting the status, including deviations from the plan 3 3

Analysis and Design Identification of Test Conditions Test conditions are identified by analysis of the test basis and objectives to determine what to test, using test techniques identified within the Test Strategy and/or the Test Plan Test basis: The documentation on which test cases are based, which may include all documents from which the requirements of a component or system can be inferred Creation of Test Cases Test cases are designed by the stepwise elaboration and refinement of the identified test conditions using test techniques identified in the test strategy They should be repeatable, verifiable and traceable back to requirements 4 4

Implementation and Execution Test implementation includes organizing the test cases into test procedures (test scripts), finalizing test data and test environments, and forming a test execution schedule to enable test case execution to begin Test execution includes executing the test procedures and the comparison of actual results with expected results 5 5

Test Procedure Example 6 6

Test Design Techniques Specification-based (behavior-based or black box) Structure-based (white box) Experience-based 7 7

Specification-Based Techniques Specification based techniques are a way to derive and select test conditions or test cases based on an analysis of the test basis documentation for a component or system without reference to its internal structure Five techniques Equivalence partitioning Boundary value analysis Decision table testing State transition testing Use case testing 8 8

Equivalence Partitioning Classes of input conditions that cause the same output value are called equivalence classes (partitions) Only one test case of each partition is needed to evaluate the behavior of the program for the related partition Thus the number of test cases can be reduced considerably 9 9

Boundary Value Analysis Tests are designed to include representatives of boundary values Values on the minimum and maximum edges of an equivalence partition are tested -N 0, 1 6, 7 12, 13 +N 10 10

Decision Table Testing A decision table lists causes and effects in a matrix Each column represents a unique combination Purpose is to structure logic Combinations Causes Values 1 2 3 4 5 6 7 8 Cause 1 Y, N Y Y Y Y N N N N Cause 2 Y, N Y Y N N Y Y N N Cause 3 Y, N Y N Y N Y N Y N Effects Effect 1 X X X Effect 2 X X X 11 11

Example 12 12

State Transition Testing A system may exhibit a different response depending on current conditions or previous history (its state) The system can be shown with a state transition diagram It allows the tester to view the software in terms of its states, transitions between states, the inputs or events that trigger state changes (transitions) and the actions which may result from those transitions 13 13

Chow s Operation Errors and Transfer Errors Operation error A is said to have operation errors if A is not equivalent to A and A can be modified to be equivalent to A by changing only the output function of A (1 0) A is the standard or the correct version Transfer error A is said to have transfer errors if A is not equivalent to A and A can be modified to be equivalent to A by changing only the next-state function of A 14 14

Switch Coverage (N-1 Switch Cover) 0-Switch Cover or Branch Coverage Every branch (state transition edge) is traversed 1-Switch Cover or Switch Coverage Every branch-to-branch is traversed 15 15

0-Switch Cover or Branch Coverage <State Diagram> <0-switch or Branch Coverage> 16 16

Test Cases 0-switch Cover 17 17

1-Switch Cover or Switch Coverage 18 18

Test Cases 19 19

Use Case Testing Tests can be derived from use cases A use case describes interactions between actors, including users and the system, which produce a result of value to a system user or the customer Use cases are very useful for designing acceptance tests with customer/user participation They also help uncover integration defects caused by the interaction and interference of different components, which individual component testing would not see 20 20