Use of domain-specific language in test automation

dc.contributor.advisorBarnes, Stuart E.
dc.contributor.authorHussain, Ambreen
dc.date.accessioned2013-12-04T19:17:39Z
dc.date.available2013-12-04T19:17:39Z
dc.date.issued2013-04
dc.description.abstractThe 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.en_UK
dc.identifier.urihttp://dspace.lib.cranfield.ac.uk/handle/1826/8050
dc.language.isoenen_UK
dc.publisherCranfield Universityen_UK
dc.rights© Cranfield University 2013. All rights reserved. No part of this publication may be reproduced without the written permission of the copyright owner.en_UK
dc.subjectXtexten_UK
dc.subjectXtenden_UK
dc.subjectEclipseen_UK
dc.subjectXbaseen_UK
dc.subjectSystem Testingen_UK
dc.subjectAutomotive Systemsen_UK
dc.titleUse of domain-specific language in test automationen_UK
dc.typeThesis or dissertationen_UK
dc.type.qualificationlevelMastersen_UK
dc.type.qualificationnameMSc by Researchen_UK

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ambreen_Hussain_Thesis_2013.pdf
Size:
3.19 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.79 KB
Format:
Item-specific license agreed upon to submission
Description: