Back to Search
Start Over
Testing framework for embedded languages
- Source :
- AIP Conference Proceedings.
- Publication Year :
- 2012
- Publisher :
- AIP, 2012.
-
Abstract
- 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.
- Subjects :
- Model-based testing
Unit testing
General Computer Science
Test data generation
Computer science
Programming language
Interface (Java)
business.industry
White-box testing
Software performance testing
Second-generation programming language
Modular design
Reuse
computer.software_genre
Oracle
Constructed language
Third-generation programming language
Fourth-generation programming language
Fifth-generation programming language
business
computer
Subjects
Details
- ISSN :
- 0094243X
- Database :
- OpenAIRE
- Journal :
- AIP Conference Proceedings
- Accession number :
- edsair.doi.dedup.....393657cfa49f113b834d1e2f6a294de2