Formal Testing with Labelled Transition Systems - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

Formal Testing with Labelled Transition Systems

Description:

Formal Testing with Labelled Transition Systems. Ed Brinksma ... (obs(t,i)) = pass ) i ioco s. Test hypothesis : exec(t,IUT) = obs(t,iIUT) TT 2004, LTS 3 ... – PowerPoint PPT presentation

Number of Views:122
Avg rating:3.0/5.0
Slides: 20
Provided by: fmtCsU
Category:

less

Transcript and Presenter's Notes

Title: Formal Testing with Labelled Transition Systems


1
Formal Testing with Labelled Transition Systems
  • Ed Brinksma
  • Course 2004

2
Goal Formal Testing with Transition Systems
Test hypothesis ?IUT?IMPS . ?iIUT ?IOTS .
?t?TTS . exec(t,IUT) obs(t,iIUT)
Proof soundness and exhaustivess ?i?IOTS . (
?t?der(s) . ?t(obs(t,i)) pass ) ? i ioco s
3
Labelled Transition Systems
4
Labelled Transition Systems
L dub,kwart, coffee,tea,soup
5
Labelled Transition Systems
Sequences of observable actions
s
traces(s) ?, dub, dub coffee, dub tea
Reachable states
s after dub S1, S2
s after dub tea S4
6
Labelled Transition Systems
  • Labelled Transition System ? S, L, T, s0 ?

7
Representation of LTS
S
  • Explicit ? S0,S1,S2,S3, dub,coffee,tea,
    (S0,dub,S1), (S1,coffee,S2), (S1,tea,S3) ,
    S0 ?
  • Transition tree / graph
  • Language / behaviour expression S dub (
    coffee stop ? tea stop )

8
Labelled Transition Systems
stop
Pwhere P a P
a stop b stop
a b stop
9
Labelled Transition Systems
Q where Q a ( b stop Q )
a b stop a c stop
a stop ? c stop
a stop b stop
10
Language of Behaviour Expressions
  • Process Algebra algebra of processes with
    behaviour operators
  • Operational semantics in labelled transition
    systems
  • Concise, structured, compositional
    representationof labelled transition systems
  • Behaviour operators
  • inaction stop
  • action prefix a B ? B
  • choice B1 B2
  • hiding hide G in B
  • Parallelism B1 G B2 B1 B2 B2
    B2
  • process def. p where p Bp

11
Language of Behaviour Expressions
  • inaction stop
  • action prefix a B
  • choice B1 B2

12
Language of Behaviour Expressions
  • hiding hide a in B
  • process definition pwhere p Bp

13
Language of Behaviour Expressions
  • parallel composition B1 a B2



14
Language of Behaviour Expressions
  • parallel composition B1 a,b B2

a,b
  • synchronization B1 B2 def B1 L
    B2
  • interleaving B1 B2 def B1 ? B2

15
Structural Operational Semantics
  • Formal semantics of behaviour expressions through
    Structural Operational Semantics (SOS)
  • Example parallel composition p G q

16
Example Parallel Composition
17
Example Behaviour Expression
  • Simple buffer(domain(x)1 states)

in ? x
out ! x
Buf in,out in ? x out ! x
Buf in,out
18
Example Behaviour Expression
  • Double buffer((domain(x)1)2 states)

(x,?)
in ? x
out ! x
(x,x)
(?,?)
?
(?,x)
in ? x
out ! x
DBuf in,out hide mid in Buf in,mid
mid Buf mid,out
19
Example Behaviour Expression
  • Six-Double buffers((domain(x)1)12 states)

SixDBuf in,out DBuf DBuf
DBuf DBuf DBuf DBuf
Write a Comment
User Comments (0)
About PowerShow.com