FLOC 2018: FEDERATED LOGIC CONFERENCE 2018
Enhancing Testing of VDM-SL models

Authors: Peter W. V. Tran-Jørgensen, René Søndergaard Nilsson and Kenneth Lausdahl

Paper Information

Title:Enhancing Testing of VDM-SL models
Authors:Peter W. V. Tran-Jørgensen, René Søndergaard Nilsson and Kenneth Lausdahl
Proceedings:Overture Full papers
Editors: Marcel Verhoef and Ken Pierce
Keywords:VDM, unit testing, continuous validation, code-generation
Abstract:

ABSTRACT. Testing of VDM-SL models is currently a tedious and error-prone task due to lack of support for defining tests, executing tests automatically, and validating test results. In VDM++, test-driven development is supported by the VDMUnit framework, which offers many of the features one would expect from a modern testing framework. However, since VDMUnit relies on object-orientation and exception handling, this framework does not work for testing VDM-SL models. In this paper, we discuss the challenges of testing VDM-SL models, and propose a library extension of Overture/VDMUnit that improves this situation. We demonstrate usage of this library extension, and show how it also enables one to reuse tests to validate code-generated VDM-SL models.

Pages:16
Talk:Jul 14 10:10 (Session 94B: Overture: Tools)
Paper: