Download as pdf or txt
Download as pdf or txt
You are on page 1of 72

Testing overview

IntTest1 ®

Version 3.0

Sela College

ii
© 2013 Sela college All rights reserved.
All other trademarks are the property of their respective owners.
This course material has been prepared by:

Sela Software Labs Ltd.

14-18 Baruch Hirsch St. Bnei Brak 51202 Israel

Tel: 972-3- 6176666 Fax: 972-3- 6176667

Copyright:  Sela Software Labs Ltd.

All Materials contained in this book were prepared by Sela Software Labs Ltd. All rights of this book are
reserved solely for Sela Software Labs Ltd. The book is intended for personal, noncommercial use. All
materials published in this book are protected by copyright, and owned or controlled by Sela Software
Labs Ltd, or the party credited as the provider of the Content. You may not modify, publish, transmit,
participate in the transfer or sale of, reproduce, create new works from, distribute, perform, store on any
magnetic device, display, or in any way exploit, any of the content in whole or in part. You may not alter
or remove any trademark, copyright or other notice from copies of the content. You may not use the
material in this book for the purpose of training of any kind, internal or for customers, without beforehand
written approval of Sela Software Labs Ltd.

The Use of this book

The material in this book is designed to assist the student during the course. It does not include all of the
information that will be referred to during the course and should not be regarded as a replacement for
reference manuals.

Limits of Responsibility

Sela Software Labs Ltd invests significant effort in updating this book, however, Sela Software Labs Ltd
is not responsible for any errors or material which may not meet specific requirements. The user alone is
responsible for decisions based on the information contained in this book.

Protected Trademarks

In this book, protected trademarks appear that are under copyright. All rights to the trademarks in this
material are reserved to the authors.

SELA wishes you success in the course!

iii
Table of Contents

Module 01 - Testing overview

Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Testing in the past (not so long ago …) ........................................................................................................ 4

Testing Today ............................................................................................................................................... 9

Time for discussion ..................................................................................................................................... 13

iv
Module 02 - Testing overview

Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Test engineers – skills and characteristics ................................................................................................... 4

Development testing and system relationships............................................................................................. 6

Testing – life cycle ......................................................................................................................................... 7

Exercise 1.................................................................................................................................................... 11

Time for discussion ..................................................................................................................................... 12

v
Module 03 - Testing Overview

Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Testing levels ................................................................................................................................................ 4

Testing levels - cont ...................................................................................................................................... 5

Main Development life cycle - V-Model ....................................................................................................... 12

Main Development life cycle – verification & validation .............................................................................. 12

Main Development life cycle - Iterative development models ..................................................................... 13

Main Development life cycle Iterative development models – cont. .......................................................... 14

Main Development life cycle Testing within the lifecycle ........................................................................... 14

Exercise - 2 ................................................................................................................................................. 15

Test Type Definition .................................................................................................................................... 15

Testing Type – cont - Functional testing ..................................................................................................... 16

Testing Type – Cont - Non-functional testing.............................................................................................. 16

Testing Type - cont ..................................................................................................................................... 17

Time for discussion ..................................................................................................................................... 20

vi
Module 04 - Testing Overview

Testing Overview .......................................................................................................................................... 3

Objective ....................................................................................................................................................... 4

Topics ............................................................................................................................................................ 4

Some important definitions............................................................................................................................ 5

Test case definition ....................................................................................................................................... 5

Test case main structure ............................................................................................................................... 6

Test case main structure - cont ..................................................................................................................... 7

Testing Technique ......................................................................................................................................... 9

Testing Technique - cont............................................................................................................................... 9

Black Box technique (one of the methods) ................................................................................................. 10

Testing Technique - cont............................................................................................................................. 10

Other boxes ................................................................................................................................................. 12

Experience based techniques ..................................................................................................................... 12

Data Base.................................................................................................................................................... 13

Build ............................................................................................................................................................ 13

Build - Cont ................................................................................................................................................ 14

Release (Version) ....................................................................................................................................... 14

Release (Version) - cont ............................................................................................................................. 15

Configuration Control .................................................................................................................................. 15

Configuration Control - Cont ....................................................................................................................... 16

Configuration control (CC) –Architecture .................................................................................................... 17

Code Freeze ............................................................................................................................................... 17

question ....................................................................................................................................................... 18

Time for discussion: .................................................................................................................................... 18

vii
viii
Module 01 - Testing overview 1-1

Module 01 - Testing overview

Contents:
Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Testing in the past (not so long ago …) ........................................................................................................ 4

Testing in the past (not so long ago …) ........................................................................................................ 4

Testing in the past (not so long ago …) ........................................................................................................ 5

Testing in the past (not so long ago …) ........................................................................................................ 5

Testing in the past (not so long ago …) ........................................................................................................ 6

Testing in the past (not so long ago …) ........................................................................................................ 6

Testing in the past (not so long ago …) ........................................................................................................ 7

Testing in the past (not so long ago …) ........................................................................................................ 7

Testing in the past (not so long ago …) ........................................................................................................ 8

Testing in the past (not so long ago …) ........................................................................................................ 8

Testing in the past (not so long ago …) ........................................................................................................ 9

Testing Today ............................................................................................................................................... 9

Testing Today ............................................................................................................................................. 10

Testing Today ............................................................................................................................................. 10

Testing Today ............................................................................................................................................. 11

Testing Today ............................................................................................................................................. 11

Testing Today ............................................................................................................................................. 12

Testing Today ............................................................................................................................................. 12

Testing Today ............................................................................................................................................. 13

Time for discussion ..................................................................................................................................... 13


1-2 Module 01 - Testing overview

Testing Overview
Module 01 - Testing overview 1-3

Objective

_____________________________________________________________________________________
_____________________________________________________________________________________

Topics

_____________________________________________________________________________________
_____________________________________________________________________________________
1-4 Module 01 - Testing overview

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 01 - Testing overview 1-5

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________
1-6 Module 01 - Testing overview

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 01 - Testing overview 1-7

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________
1-8 Module 01 - Testing overview

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 01 - Testing overview 1-9

Testing in the past (not so long ago …)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________
1-10 Module 01 - Testing overview

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 01 - Testing overview 1-11

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________
1-12 Module 01 - Testing overview

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 01 - Testing overview 1-13

Testing Today

_____________________________________________________________________________________
_____________________________________________________________________________________

Time for discussion

_____________________________________________________________________________________
_____________________________________________________________________________________
1-14 Module 01 - Testing overview
Module 02 - Testing overview 2-1

Module 02 - Testing overview

Contents:
Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Test engineers – skills and characteristics ................................................................................................... 4

Test engineers – skills and characteristics ................................................................................................... 4

Test engineers – skills and characteristics ................................................................................................... 5

Test engineers – skills and characteristics ................................................................................................... 5

Development testing and system relationships............................................................................................. 6

Development testing and system relationships............................................................................................. 6

Testing – life cycle ......................................................................................................................................... 7

Testing – life cycle ......................................................................................................................................... 7

Testing – life cycle ......................................................................................................................................... 8

Testing – life cycle ......................................................................................................................................... 8

Testing – life cycle ......................................................................................................................................... 9

Testing – life cycle ......................................................................................................................................... 9

Testing – life cycle ....................................................................................................................................... 10

Testing – life cycle ....................................................................................................................................... 10

Testing – life cycle ....................................................................................................................................... 11

Exercise 1.................................................................................................................................................... 11

Time for discussion ..................................................................................................................................... 12


2-2 Module 02 - Testing overview

Testing Overview
Module 02 - Testing overview 2-3

Objective

_____________________________________________________________________________________
_____________________________________________________________________________________

Topics

_____________________________________________________________________________________
_____________________________________________________________________________________
2-4 Module 02 - Testing overview

Test engineers – skills and characteristics

_____________________________________________________________________________________
_____________________________________________________________________________________

Test engineers – skills and characteristics

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 02 - Testing overview 2-5

Test engineers – skills and characteristics

_____________________________________________________________________________________
_____________________________________________________________________________________

Test engineers – skills and characteristics

_____________________________________________________________________________________
_____________________________________________________________________________________
2-6 Module 02 - Testing overview

Development testing and system relationships

_____________________________________________________________________________________
_____________________________________________________________________________________

Development testing and system relationships

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 02 - Testing overview 2-7

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________
2-8 Module 02 - Testing overview

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 02 - Testing overview 2-9

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________
2-10 Module 02 - Testing overview

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 02 - Testing overview 2-11

Testing – life cycle

_____________________________________________________________________________________
_____________________________________________________________________________________

Exercise 1

_____________________________________________________________________________________
_____________________________________________________________________________________
2-12 Module 02 - Testing overview

Time for discussion

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-1

Module 03 - Testing Overview

Contents:
Testing Overview .......................................................................................................................................... 2

Objective ....................................................................................................................................................... 3

Topics ............................................................................................................................................................ 3

Testing levels ................................................................................................................................................ 4

Testing levels - cont ...................................................................................................................................... 5

Testing levels - cont ...................................................................................................................................... 6

Testing levels - cont ...................................................................................................................................... 7

Testing levels - cont ...................................................................................................................................... 8

Testing levels - cont ...................................................................................................................................... 9

Testing levels - cont .................................................................................................................................... 10

Testing levels - cont .................................................................................................................................... 11

Main Development life cycle - V-Model ....................................................................................................... 12

Main Development life cycle – verification & validation .............................................................................. 12

Main Development life cycle - Iterative development models ..................................................................... 13

Main Development life cycle Iterative development models – cont. .......................................................... 14

Main Development life cycle Testing within the lifecycle ........................................................................... 14

Exercise - 2 ................................................................................................................................................. 15

Test Type Definition .................................................................................................................................... 15

Testing Type – cont - Functional testing ..................................................................................................... 16

Testing Type – Cont - Non-functional testing .............................................................................................. 16

Testing Type - cont ..................................................................................................................................... 17

Testing Type - cont ..................................................................................................................................... 18

Testing Type - cont ..................................................................................................................................... 19

Testing Type - cont ..................................................................................................................................... 19

Time for discussion ..................................................................................................................................... 20


3-2 Module 03 - Testing Overview

Testing Overview
Module 03 - Testing Overview 3-3

Objective

_____________________________________________________________________________________
_____________________________________________________________________________________

Topics

_____________________________________________________________________________________
_____________________________________________________________________________________
3-4 Module 03 - Testing Overview

Testing levels

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-5

Testing levels - cont

- CTFL‫העמקות נוספות ב‬
3-6 Module 03 - Testing Overview

Testing levels - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-7

Testing levels - cont

- CTFL‫העמקות נוספות ב‬
3-8 Module 03 - Testing Overview

Testing levels - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-9

Testing levels - cont

- CTFL‫העמקות נוספות ב‬
‫‪3-10‬‬ ‫‪Module 03 - Testing Overview‬‬

‫‪Testing levels - cont‬‬

‫החיצים באים לציין את זרימת תהליכי הבדיקה לתוך מודולים י ‪UNITS‬וכו 'כדי להשלים תהליכי‪E2E‬‬
Module 03 - Testing Overview 3-11

Testing levels - cont

- CTFL‫נושאי אלפא ובטא טסט וכן העמקות נוספות יינתנו ב‬


3-12 Module 03 - Testing Overview

Main Development life cycle - V-Model

_____________________________________________________________________________________
_____________________________________________________________________________________

Main Development life cycle – verification & validation

_____________________________________________________________________________________
_____________________________________________________________________________________
‫‪Module 03 - Testing Overview 3-13‬‬

‫‪Main Development life cycle - Iterative development models‬‬

‫הסבר קצר – מוסבר שוב ב‪- CTFL‬‬


‫חסרונות ‪:‬מותשים בסוף כל איטרציה כמו בהוצאת מוצר ואז מתחילה מיד איטרציה חדשה ‪,‬תלות‬
‫מוחלטת בצוות ובאווירה בתוכו( צוות חלש יכשל ‪),‬אין זמן למחלות מילואים ‪,‬ממוקדי ‪FEATURE‬‬
‫ומאבדים את תשומת הלב לכל המוצר ‪,‬בודקים – רואים רק חלק קטן מהמוצר ולא את התמונה כולה‬
‫והופכים משועממים‪.‬‬
3-14 Module 03 - Testing Overview

Main Development life cycle


Iterative development models – cont.

_____________________________________________________________________________________
_____________________________________________________________________________________

Main Development life cycle


Testing within the lifecycle

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-15

Exercise - 2

_____________________________________________________________________________________
_____________________________________________________________________________________

Test Type Definition

_____________________________________________________________________________________
_____________________________________________________________________________________
3-16 Module 03 - Testing Overview

Testing Type – cont - Functional testing

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Type – Cont - Non-functional testing

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 03 - Testing Overview 3-17

Testing Type - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
3-18 Module 03 - Testing Overview

Testing Type - cont

- CTFL‫העמקות נוספות ב‬
Module 03 - Testing Overview 3-19

Testing Type - cont

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Type - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
3-20 Module 03 - Testing Overview

Time for discussion

_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-1

Module 04 - Testing Overview

Contents:
Testing Overview .......................................................................................................................................... 3

Objective ....................................................................................................................................................... 4

Topics ............................................................................................................................................................ 4

Some important definitions............................................................................................................................ 5

Test case definition ....................................................................................................................................... 5

Test case main structure ............................................................................................................................... 6

Test case main structure - cont ..................................................................................................................... 7

Test case main structure - cont ..................................................................................................................... 8

Testing Technique ......................................................................................................................................... 9

Testing Technique - cont............................................................................................................................... 9

Black Box technique (one of the methods) ................................................................................................. 10

Testing Technique - cont............................................................................................................................. 10

Testing Technique - cont............................................................................................................................. 11

Testing Technique - cont............................................................................................................................. 11

Other boxes ................................................................................................................................................. 12

Experience based techniques ..................................................................................................................... 12

Data Base.................................................................................................................................................... 13

Build ............................................................................................................................................................ 13

Build - Cont ................................................................................................................................................ 14

Release (Version) ....................................................................................................................................... 14

Release (Version) - cont ............................................................................................................................. 15

Configuration Control .................................................................................................................................. 15

Configuration Control - Cont ....................................................................................................................... 16

Configuration Control - Cont ....................................................................................................................... 16

Configuration control (CC) –Architecture .................................................................................................... 17

Code Freeze ............................................................................................................................................... 17


4-2 Module 04 - Testing Overview

question ....................................................................................................................................................... 18

Time for discussion: .................................................................................................................................... 18


Module 04 - Testing Overview 4-3

Testing Overview
4-4 Module 04 - Testing Overview

Objective

_____________________________________________________________________________________
_____________________________________________________________________________________

Topics

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-5

Some important definitions

_____________________________________________________________________________________
_____________________________________________________________________________________

Test case definition

_____________________________________________________________________________________
_____________________________________________________________________________________
‫‪4-6‬‬ ‫‪Module 04 - Testing Overview‬‬

‫‪Test case main structure‬‬

‫הדוגמא בסוגריים מתייחסת למערכת עסקית שאמורה בין היתר לתרגם שערים בין מטבעות תוך כדי‬
‫תהליך קניה‪/‬מכירה של סחורה‪.‬‬
‫‪Module 04 - Testing Overview 4-7‬‬

‫‪Test case main structure - cont‬‬

‫הדוגמא בסוגריים מתייחסת למערכת עסקית שאמורה בין היתר לתרגם שערים בין מטבעות תוך כדי‬
‫תהליך קניה‪/‬מכירה של סחורה‪.‬‬
‫‪4-8‬‬ ‫‪Module 04 - Testing Overview‬‬

‫‪Test case main structure - cont‬‬

‫הדוגמא בסוגריים מתייחסת למערכת עסקית שאמורה בין היתר לתרגם שערים בין מטבעות תוך כדי‬
‫תהליך קניה‪/‬מכירה של סחורה‪.‬‬
‫כדאי להסביר את הדקויות בתרגום בין המטבעות כגון עגול האגורות וכו‪'.‬‬
Module 04 - Testing Overview 4-9

Testing Technique

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Technique - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
4-10 Module 04 - Testing Overview

Black Box technique (one of the methods)

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Technique - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-11

Testing Technique - cont

_____________________________________________________________________________________
_____________________________________________________________________________________

Testing Technique - cont

_____________________________________________________________________________________
_____________________________________________________________________________________
4-12 Module 04 - Testing Overview

Other boxes

_____________________________________________________________________________________
_____________________________________________________________________________________

Experience based techniques

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-13

Data Base

_____________________________________________________________________________________
_____________________________________________________________________________________

Build

_____________________________________________________________________________________
_____________________________________________________________________________________
4-14 Module 04 - Testing Overview

Build - Cont

_____________________________________________________________________________________
_____________________________________________________________________________________

Release (Version)

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-15

Release (Version) - cont

_____________________________________________________________________________________
_____________________________________________________________________________________

Configuration Control

_____________________________________________________________________________________
_____________________________________________________________________________________
4-16 Module 04 - Testing Overview

Configuration Control - Cont

_____________________________________________________________________________________
_____________________________________________________________________________________

Configuration Control - Cont

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-17

Configuration control (CC) –Architecture

_____________________________________________________________________________________
_____________________________________________________________________________________

Code Freeze

_____________________________________________________________________________________
_____________________________________________________________________________________
4-18 Module 04 - Testing Overview

question

_____________________________________________________________________________________
_____________________________________________________________________________________

Time for discussion:

_____________________________________________________________________________________
_____________________________________________________________________________________
Module 04 - Testing Overview 4-19

You might also like