Semantics of interactions with refusals, divergence anddestruction. Part 1. Hypothesis of safety and safe conformance | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 4(13).

Semantics of interactions with refusals, divergence anddestruction. Part 1. Hypothesis of safety and safe conformance

The paper discusses methods of conformance testing of the given system to the given requirements (specification) basing on formal models. The operational semantics of an interaction is designated with a special testing machine formally defining various testing capabilities. A set of powerful and meaningful capabilities reducible to observation of external actions and refusals (absence of external actions) is selected. The innovations are: 1) Parameterization of the semantics with the kinds of observable and unobservable refusals that allows taking into account various restrictions on (correct) interaction. 2) Destruction as a forbidden action, which is possible, but should not be performed in a correct interaction. 3) Modeling of divergence with a ∆-action which also should be avoided in a correct interaction. The notion of safe testing, the implementation hypothesis of safety and relation of safe conformance based on such semantics are proposed. Theoretically, test generation from specification given in arbitrary interaction semantics of the studied kind is considered.The parameterized R/Q-semantics of interaction, hypothesis of safety, safe conformance and the method of test generation proposed in this paper are the basis of the conformance theory that generalizes many of the conformances and testing methods found in literature and used in practice. Particularly, failure trace semantics and the semantics of the popular ioco relation are the instances of the R/Q-semantics. This theory is now developed in various directions. 1) Specification completion solving the problem of specification nonreflexivity in respect to conformance relation as well as the problem of safe specification traces that can not be found in conformant implementations and test traces that can not be found in safely tested implementations. 2) Monotonous transformation of the specification solving the problem of verification of the given system specification (its consistency with the components specifications). 3. Introduction of priorities into the model and the corresponding modification of conformance and test generation. 4) Propagation of suggested approach on simulations - conformances based not only on the traces of observations, but also on the correspondence of the states in implementation and specification. The issues of equivalence of interaction semantics and semantics transformations during testing using the mediator programs converting test stimuli and observations are also researched.

Download file
Counter downloads: 301

Keywords

тестирование, конформность, семантика взаимодейст-вия, трассы, отказы, LTS, Testing, conformance, operational semantics, traces, failure, LTS

Authors

NameOrganizationE-mail
Burdonov B.I.Institute for System Programming of the Russian Academy of Sciencesigor@ispras.ru
Kosachev A.S.Institute for System Programming of the Russian Academy of Scienceskos@ispras.ru
Всего: 2

References

Бурдонов И.Б. Теория конформности для функционального тестирования программных систем на основе формальных моделей: дис. ... д.ф.-м.н. М., 2008. 596 с. URL: <http://>www.ispras.ru/~RedVerst/RedVerst/Publications/TR-01-2007.pdf <http://www.ispras.ru/~RedVerst/RedVerst/Publications/TR-01-2007.pdf>
Бурдонов И.Б., Косачев А.С., Кулямин В.В. Формализация тестового эксперимента // Программирование. 2007. № 5. С. 3-32.
van Glabbeek R.J. The linear time - branching time spectrum // CONCUR'90, LNCS 458 / J.C.M. Baeten and J.W. Klop, editors. Springer-Verlag, 1990. P. 278-297.
van Glabbeek R.J. The linear time - branching time spectrum II; the semantics of sequential processes with silent moves // Proceedings CONCUR '93, Hildesheim, Germany, August 1993 (E. Best, ed.), LNCS 715. Springer-Verlag, 1993. P. 66-81.
Milner R. Modal characterization of observable machine behaviour // Proceedings CAAP 81, LNCS 112 / G. Astesiano & C. Bohm, editors. Springer. Р. 25-34.
Baeten J.C.M. Procesalgebra. - Programmatuurkunde. Kluwer. Deventer. In Dutch. 1986.
Phillips I. Refusal testing // Theoretical Computer Science. 1987. No. 2. P. 241-284.
Tretmans J. Test generation with inputs, outputs and repetitive quiescence // Software-Concepts and Tools. 1996. V. 17. Issue 3.
Tretmans J. Conformance testing with labelled transition systems: implementation relations and test generation // Computer Networks and ISDN Systems. 1996. No. 1. P. 49-79.
Бурдонов И.Б., Косачев А.С. Системы с приоритетами: конформность, тестирование, композиция // Программирование. 2009. № 4. С. 24-40.
Hoare C.A.R. An axiomatic basis for computer programming // Communications of the ACM. 1969. No. 10. P. 576-585.
Langerak R. A testing theory for LOTOS using deadlock detection // Protocol Specification, Testing, and Verification IX / E. Brinksma, G. Scollo, and C.A. Vissers, editors. North-Holland, 1990. P. 87-98.
Бурдонов И.Б., Косачев А.С. Тестирование конформности на основе соответствия состояний // Труды Института системного программирования РАН. 2010. № 18.
Бурдонов И.Б., Косачев А.С. Эквивалентные семантики взаимодействия // Там же. 2008. № 14.1. С. 55-72.
Бурдонов И.Б., Косачев А.С. Тестирование с преобразованием семантик // Там же. 2009. № 17. С. 193-208.
Бурдонов И.Б., Косачев А.С. Полное тестирование с открытым состоянием ограниченно недетерминированных систем // Программирование. 2009. № 6. С. 3-18.
 Semantics of interactions with refusals, divergence anddestruction. Part 1. Hypothesis of safety and safe conformance | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 4(13).

Semantics of interactions with refusals, divergence anddestruction. Part 1. Hypothesis of safety and safe conformance | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2010. № 4(13).

Download file