Specifying a testing oracle for train stations - Going beyond with product line technology

2Citations
Citations of this article
19Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper presents an approach for automatically generating a testing oracle for train stations. Based on a model of a train station and a formal definition of the behavior of the station, Alloy is used to generate all positive traces from a given situation. By specifying the precondition (test input), a simulation of the station model gives all legal train movement from this state, which defines the testing oracle. This oracle can be used for checking the result of testing the implementation of the station by comparing the train movement from the test with the legal train movement specified by the oracle. We suggest a prototype implementation based on the Train Control Language and give an example oracle for a typical test-case. Furthermore, we elaborate on the benefits of using product line technology, given by the Common Variability Language, to reduce the analysis effort necessary to obtain the oracle for product models. © 2012 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Svendsen, A., Haugen, Ø., & Møller-Pedersen, B. (2012). Specifying a testing oracle for train stations - Going beyond with product line technology. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7167 LNCS, pp. 187–201). https://doi.org/10.1007/978-3-642-29645-1_20

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free