Разделы презентаций


State Transition Testing Technique Training

Содержание

CourseWhat is State Transition Testing Technique?For what?How it is used?PRACTICePRACTICe

Слайды и текст этой презентации

Слайд 1State Transition Testing Technique Training
Kateryna Dribas

State Transition Testing Technique TrainingKateryna Dribas

Слайд 2Course
What is State Transition Testing Technique?
For what?
How it is used?
P
R
A
C
T
I
C
e
P
R
A
C
T
I
C
e

CourseWhat is State Transition Testing Technique?For what?How it is used?PRACTICePRACTICe

Слайд 3Practice2
Practice6
Practice1
Course
Lesson2
Lesson3
Lesson1
Course

Practice2Practice6Practice1CourseLesson2Lesson3Lesson1Course

Слайд 4Agenda
1. Introduction.

First lesson:
3. Summary.
2. Technique:


2.1. Designations;
2.2. State diagram;


2.3. State table.

4. The end.

Agenda1.  Introduction. First lesson:3.  Summary.2.  Technique:    2.1. Designations;

Слайд 5System
System
Introduction
What is state transition?

two states of a system or

it’s component.

State 1
State 2
State transition: a transition between

System SystemIntroductionWhat is state transition?two states of a system or it’s component. State 1State 2State transition: a

Слайд 6Introduction
Dynamic testing: testing that involves
the execution of the software of

sys-
em or its component.

What is dynamic testing?

System

IntroductionDynamic testing: testing that involvesthe execution of the software of sys-em or its component.What is dynamic testing?System

Слайд 7Black box testing: method of testing
that examines the functionality

of ap-
plication without peering into its in-
ternal logical structure.

Introduction
What is

black box testing?

Input

Output

Black box

?

Black box testing: method of testing that examines the functionality of ap-plication without peering into its in-ternal

Слайд 8test cases are designed to execute valid
Introduction
State transition technique:

dynamic
What is state transition technique?

black box testing technique in

which

and invalid state transitions.

dynamic

black box

state transitions

?

State 1

State 2

testing

testing

test cases are designed to execute valid IntroductionState transition technique: dynamic What is state transition technique?black box

Слайд 9Introduction
to capture certain kinds of system requirements;
to capture system design;
to

document them;
to serve as a guide to creating test cases;
to

visualize all of the states in which the system can exist;
to visualize all transitions between states in which the system can exist.




For what?


Introductionto capture certain kinds of system requirements;to capture system design;to document them;to serve as a guide to

Слайд 10Technique: designations
State transition model can be shown as:
Table
Diagram

Technique: designationsState transition model can be shown as:TableDiagram

Слайд 11- actions (that result from a tran-sition).
State
Card inserted
- states

(that system may occupy);
- transitions (from one state to

another);

- events (that cause a transition);

Technique: State diagram.

< >

< >

< >

< >

- actions (that result from a tran-sition).StateCard inserted - states (that system may occupy); - transitions (from

Слайд 12User inserts credit card, enters PIN for getting bank account.

He has 3
tries to enter valid PIN and to get

access to account. After 3rd invalid
try the card will be "eaten". And in 10 seconds start menu is appeared.

Wait for PIN

2nd try

3rd try

Access

Eaten card

Start

Card inserted

Enter valid PIN

Enter invalid PIN

Enter valid PIN

Enter invalid PIN

Enter valid PIN

Enter invalid PIN

Technique: State diagram

In 10 seconds

User inserts credit card, enters PIN for getting bank account. He has 3tries to enter valid PIN

Слайд 13Whether all events were considered?
Card inserted
Enter valid PIN
Enter invalid

PIN
Enter valid PIN
Enter
invalid PIN
Enter valid PIN
Enter invalid PIN
Card inserted
Card

inserted

Enter invalid PIN

Enter valid PIN

Technique: State diagram

In 10 seconds

Card inserted

Enter valid PIN

Enter valid PIN

Enter invalid PIN

Enter valid PIN

Start

Wait for PIN

2nd try

3rd try

Access

Eaten card

Card inserted

Card inserted

Whether all events were considered? Card insertedEnter valid PINEnter invalid PINEnter valid PINEnter invalid PINEnter valid PINEnter

Слайд 14Transition from current state of sys-
tem to next one.
-

1st row
Event, that cause a transition;
Next state cased by event;
Technique:

State table.

- 2nd row

- 3rd row

- Column

Current state of system;

Transition from current state of sys-tem to next one. - 1st rowEvent, that cause a transition;Next state

Слайд 15User inserts credit card, enters PIN for getting bank account.

He has 3 tries to enter valid PIN and to

get access to account. After 3rd invalid try the card will be "eaten". And in 10 seconds start menu is appeared.

Technique: State table

Current
state

Event

Next
state

Start

Inserted
card

Wait for PIN

Wait for PIN

Valid
PIN

Access

Wait for PIN

Invalid
PIN

Valid
PIN

Valid
PIN

Invalid
PIN

Invalid
PIN

In 10
seconds

2nd
try

2nd
try

2nd
try

3rd
try

3rd
try

3rd
try

Access

Access

Eaten card

Eaten card

Start

User inserts credit card, enters PIN for getting bank account. He has 3 tries to enter valid

Слайд 16Let’s consider illogical events.
Technique: State table
Start
Valid
PIN

Invalid
PIN
Wait for PIN
Inserted
card
Inserted
card
Inserted
card
Wait for PIN
2nd


try
3rd
try
2nd
try
Current
state
Start
Start
3rd
try
Start

Let’s consider illogical events.Technique: State tableStartValidPINInvalidPINWait for PINInsertedcardInsertedcardInsertedcardWait for PIN2nd try3rd try 2nd tryCurrent stateStartStart3rd tryStart

Слайд 17Let’s consider illogical events.
Technique: State table
Access
Valid
PIN

Invalid
PIN
Access
Inserted
card
Valid
PIN
Invalid
PIN
Access
Eaten card
Eaten card
Eaten card
Eaten

card
Eaten card
Current
state
Access
Inserted
card
Access
Eaten card
Access

Let’s consider illogical events.Technique: State tableAccessValidPINInvalidPINAccessInsertedcardValidPINInvalidPINAccessEaten cardEaten cardEaten card Eaten card Eaten cardCurrent stateAccessInsertedcardAccessEaten cardAccess

Слайд 18State transition technique
black box
Dynamic
Summary
?
State 1
State 2
testing technique in

which test
cases are designed to execute valid and invalid

state
transitions.
State transition techniqueblack boxDynamic Summary?State 1 State 2testing technique in which test cases are designed to execute

Слайд 19 Summary
Diagram designations:
State
State
Transition
Event
Action
Card inserted
<

>
< >
<

>

< >

SummaryDiagram designations:StateStateTransitionEventActionCard inserted<       ><      ><

Слайд 20 - 1st row
Transition between states
Next state cased by event
Event,

that cause a transition
Current
state of system
Summary
Table designations:

- 2nd row

- 3rd row

- Column

- 1st rowTransition between statesNext state cased by eventEvent, that cause a transition Current state of

Слайд 21Diagram that shows all (logical & illogical)
transitions:
Diagram that shows logical

transitions:
Summary

Diagram that shows all (logical & illogical)transitions:Diagram that shows logical transitions:Summary

Слайд 22Table that shows logical transitions:
Table that shows all (logical &

illogical)
transitions:
Summary

Table that shows logical transitions:Table that shows all (logical & illogical)transitions:Summary

Слайд 23The end
The end of the first lesson.
THANK YOU!

The end The end of the first lesson.THANK YOU!

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика