Til hovedinnhold
Norsk English

Specifying a Testing Oracle for Train Station

Sammendrag

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.

Kategori

Vitenskapelig Kapittel/Artikkel/Konferanseartikkel

Språk

Engelsk

Forfatter(e)

  • Andreas Svendsen
  • Øystein Haugen
  • Birger Møller-Pedersen

Institusjon(er)

  • Universitetet i Oslo
  • SINTEF Digital / Sustainable Communication Technologies

År

2011

Forlag

Association for Computing Machinery (ACM)

Bok

MoDeVVa : Proceedings of the 8th International Workshop on Model-Driven Engineering, Verification and Validation

ISBN

978-1-4503-0914-1

Vis denne publikasjonen hos Cristin