Back to search

Cranfield University

Use of domain-specific language in test automation

Abstract

dc:description.abstract

The primary aim of this research project was to investigate techniques to replace the complicated process of testing embedded systems in automotive domain. The multi-component domain was composed of different hardware to be used in testing procedure which increased the level of difficulty in testing for an operator. As a result, an existing semi-automated testing procedure was replaced by more simpler and efficient framework (ViBATA). A key step taken in this scenario was the replacement of manual GUI interface with the scriptable one to enhance the automation. This was achieved by building a Domain-specific language which allowed test definition in the form of human readable scripts which could be stored for later use. A DSL is a scripting language defined for a particular domain with compact expressiveness. In this case the domain is testing embedded systems in general and automotive systems in particular. The final product was a test case specification document in the form of XML as an output of generated code from this DSL which will be input to ViBATA to make test specification component automated. In this research a comparative analysis of existing DSLs for alternative domains and investigation of their applicability to the presented domain was also performed. The technologies used in this project are Xtext to define the DSL grammar, Xtend to generate code in Java and Simple framework to generate output in XML. The stages involved in DSL development and how these stages were implemented is covered in this thesis. The developed DSL for this domain is tested for automotive and calculator systems in this thesis which proved that this is more general and flexible. The DSL is consistent, efficient and automated test specification component of testing framework in embedded systems.

Degree

thesis:*
Grantor dc:publisher
Cranfield University
Year dc:date.issued
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hussain, Ambreen
Advisor dc:contributor.advisor
  • Barnes, Stuart E.

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • © Cranfield University 2013. All rights reserved. No part of this publication may be reproduced without the written permission of the copyright owner.
Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
http://dspace.lib.cranfield.ac.uk/handle/1826/8050

Chain of custody

source
Harvested from
Cranfield University
Base URL
dspace.lib.cranfield.ac.uk/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Hussain, Ambreen. Use of domain-specific language in test automation. Cranfield University, 2013. http://dspace.lib.cranfield.ac.uk/handle/1826/8050