180 likes | 340 Views
Florian Winkelbauer AK Softwaretechnologie 1 (716.174). TGV Tool [1]. Content. Conformance Testing Input Output Labelled Transition Systems General Deterministic IOLTS ioco TGV Overview Functional view. Conformance Testing. Test non- deterministic reactive systems
E N D
Florian Winkelbauer AK Softwaretechnologie 1 (716.174) TGV Tool[1]
Content • ConformanceTesting • Input Output Labelled Transition Systems • General • Deterministic IOLTS • ioco • TGV • Overview • Functionalview
ConformanceTesting • Test non-deterministicreactivesystems • Check if IUT behaveslikespecification (oracle) • IUT = Implementation Under Test • Black Box • IUT codeisunknown, behaviouronlyvisiblebyinteraction • Test hypothesis
IOLTS • QS = States • AS = Actions • s = Transition • q0S = Initial State • AS: • Input Alphabet • Output Alphabet • Alphabet of Internal Actions • DS: • S withd
Deterministic IOLTS det(D(S))
ioco IUT1 ioco S !(IUT2 ioco S)
TGV • Test Generation withVerification Technology • Basedon labelledtransitionmodels (IOLTS) • Specificationofvisiblebehaviour • Generation ofabstracttestcases • Exampleof a fullrun
Test purpose • Modelledbyautomata (formally IOLTS) • Extension • Acceptselecttargetbehaviour • Refuse cut down exploration • „*“ label forcompletion • Regular expression • Efficienttestselection „on-the-fly“ • Generatetestcasesby partial explorationofgraphs
Input for TGV Specification Test Purpose Howtocomputeintersection?
Test Creation • Create SPVISbyextractingvisiblebehaviour • Extracttestcasebyselectionofacceptedbehaviour • Mirrorimage • Completeinputs • Test Case • Pass • Fail • Inconclusive (behaviour ok, but not reachablethrough TP)
Conclusion • Can synthesize tests from industrial size specifications, but improvements are still needed • Problems • Test Purpose (expertise needed) • Distributed Systems • Symbol variables beyond the scope
Reference [1] Claude Jardand Thierry Jéron. TGV: theory, principlesandalgorithms. International Journal on Software Tools for Technology Transfer (STTT), 7(4):297-315, 2005