Print Email Facebook Twitter Integrated Language Definition Testing: Enabling Test-Driven Language Development Title Integrated Language Definition Testing: Enabling Test-Driven Language Development Author Kats, L.C.L. Vermaas, R. Visser, E. Faculty Electrical Engineering, Mathematics and Computer Science Department Software Technology Date 2011-10-22 Abstract The reliability of compilers, interpreters, and development environments for programming languages is essential for effective software development and maintenance. They are often tested only as an afterthought. Languages with a smaller scope, such as domain-specific languages, often remain untested. General-purpose testing techniques and test case generation methods fall short in providing a low-threshold solution for test-driven language development. In this paper we introduce the notion of a language-parametric testing language (LPTL) that provides a reusable, generic basis for declaratively specifying language definition tests. We integrate the syntax, semantics, and editor services of a language under test into the LPTL for writing test inputs. This paper describes the design of an LPTL and the tool support provided for it, shows use cases using examples, and describes our implementation in the form of the Spoofax testing language. This paper is a pre-print of: Lennart C. L. Kats, Rob Vermaas, Eelco Visser. Integrated Language Definition Testing. Enabling Test-Driven Language Development. In Kathleen Fisher, editor, Proceedings of the 26th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA 2011), ACM, 2010. Subject TestingTest-Driven DevelopmentLanguage EngineeringGrammarwareLanguage WorkbenchDomain-Specific LanguageLanguage EmbeddingCompilersParsers To reference this document use: http://resolver.tudelft.nl/uuid:e42638c8-6a2a-4929-917b-20529f6fbd9f Publisher Delft University of Technology, Software Engineering Research Group ISSN 1872-5392 Source Technical Report Series TUD-SERG-2011-011 Part of collection Institutional Repository Document type report Rights (c) 2011 The authors. Software Engineering Research Group, Department of Software Technology, Faculty of Electrical Engineering, Mathematics and Computer Science, Delft University of Technology. Files PDF TUD-SERG-2011-011.pdf 376.55 KB Close viewer /islandora/object/uuid:e42638c8-6a2a-4929-917b-20529f6fbd9f/datastream/OBJ/view