Testing framework for embedded languages

Embedding a new programming language into an existing one is a widely used technique, because it fastens the development process and gives a part of a language infrastructure for free (e.g. lexical, syntactical analyzers). In this paper we are presenting a new advantage of this development approach...

Full description

Saved in:
Bibliographic Details
Published inComputer Science and Information Systems Vol. 10; no. 4; pp. 1647 - 1659
Main Authors Leskó, Dániel, Tejfel, Máté
Format Journal Article
LanguageEnglish
Published 01.10.2013
Online AccessGet full text

Cover

Loading…
More Information
Summary:Embedding a new programming language into an existing one is a widely used technique, because it fastens the development process and gives a part of a language infrastructure for free (e.g. lexical, syntactical analyzers). In this paper we are presenting a new advantage of this development approach regarding to adding testing support for these new languages. Tool support for testing is a crucial point for a newly designed programming language. It could be done in the hard way by creating a testing tool from scratch, or we could try to reuse existing testing tools by extending them with an interface to our new language. The second approach requires less work, and also it fits very well for the embedded approach. The problem is that the creation of such interfaces is not straightforward at all, because the existing testing tools are mostly not designed to be extendable and to be able to deal with new languages. This paper presents an extendable and modular model of a testing framework, in which the most basic design decision was to keep the - previously mentioned - interface creation simple and straightforward. Other important aspects of our model are the test data generation, the oracle problem and the customizability of the whole testing phase. nema
ISSN:1820-0214
2406-1018
DOI:10.2298/CSIS130115069L