deck_15625194 Flashcards
What is an LTS with inputs and outputs (Input Output Transition System - IOTS)?
An LTS that distinguishes for any given action where it is an input or output of a system
How is an LTS formally defined
(S,s0,Li,Lu,->)
How are inputs and outputs distinguished in an LTS with inputs and outputs?
Inputs have a ? before whilst outputs have a !
Do all outputs have to be enabled in every state of an LTS with inputs and outputs?
No, all outputs do not have to be enabled in every state.
Do all inputs have to be enabled in every state of an LTS with inputs and outputs?
Yes, all inputs ahve to be enabled in every state of an LTS with inputs and outputs.
What is an implementation under test (IUT)?
A system or component being tested, i.e., the actual implementation of the system being evaluated for conformity to certain specifications.
For every implementation under test (IUT) and a test t, there exists an IOTS model mIUT such that:
IUT passes t if and only if mIUT passes t
What is conformance of an implementation to a specification (informal answer)?
Implementation i conforms to specification s when any behaviour from implementation i is predicted/allowed by specification s.
When is a state s quiescent?
If for all outputs and internal transitions, the state does not have a transition defined by them.
How is quiescence drawn?
As a self-loop with a greek symbol.
What are the suspension traces starting in a given state s?
All of the weak traces starting in that state extended with quiescence too
What is the output of a state?
All of the different outputs plus quiescence that leave from that state.
Input-Output Conformance - Formal Definition:
i ioco s means:
For all suspension traces t of the specification s, the outputs after running t on implementation i are a subset of the outputs after running t on specification s.
What is a test transition system TTS
An LTS used for test generation defined as follows:
Has Labels L U theta, where L are the inputs and outputs of the LTS it tests, and theta represents the quiescence label.
Inputs and outputs have exchanged signs.
Tree structure.
Finite, deterministic.
Final states “pass” and “fail”
From each state that is not a pass or a fail you either have:
- one input !a and all outputs ?x
OR
- all outputs ?x and theta
Test Generation Algorithm
To generate a test case t(S) from a transition system specification with S set of states, apply the following steps non-deterministically:
- End test case
- Supply input
- Observe output