Font Size: a A A

Design And Implementation Of TTCN-3Code Generation Platform Based On Model Driven Testing

Posted on:2014-05-11Degree:MasterType:Thesis
Country:ChinaCandidate:L MaFull Text:PDF
GTID:2268330392473735Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Along with the development of IT industry and software market matures, thenecessity of software testing has been completely accepted by policy makers in theindustry. Software testing development up to now, the traditional manual testing intoan automated testing, computer perform the testcase writed by tester. Especially inregression testing, it can avoid the waste of time, funds, hardware and humanresources. But the deficiency of automation testing is also obvious. Automated testingfor testers, technical requirements is higher, learning test automation code languageand writing test scripts will spend a lot of time. If meet SUT testing requirementschanged, testers need to take the time to modify the test case script. TTCN-3codegeneration platform introduced the ideas of model-driven automation testing,designed to make up for the disadvantages of automated testing.TTCN-3code generation platform follow the thinking of model-driven testing,for the tester provides a visual modeling platform of test system used to test systemmodeling. Make testers to abstract out the concerns of testint points and testingprocess. To improve test efficiency and automation level, it is intuitive andunambiguous. This platform follow MDA specification standard in the test systemmodeling, reference U2TP specification defines the testing system ecore model. Basedon the eclipse graphical modeling framework (GMF) establish testing system modeleditor for the visual modeling of testing system. Based on defining the mappingrelationship of the ecore model of testing system and TTCN-3testing system,achieved the conversion from testing system model to TTCN-3code.Main work contains the following three aspects: first, the definition of testingsystem ecore models, it is the basis of realizing the system modeling. According toTTCN-3define testing system ecore model, reference U2TP specification standards;Second, the creation of visual modeling tool. It based mainly on GMF technology,GMF is provides a powerful framework for visualization of the graphical editor. EMFis used to edit meta model and generate code accordingly, GEF provides buildgraphical editor platform; Third, conversion model into code, in order to realize thetransformation model into code, first of all to define the XML Schema correspondingto TTCN3code, and then through the creation of the model test models generate theXML files, according to the definition of the transformation rules, and transformXML documents into the TTCN-3code.
Keywords/Search Tags:MDA, Ecore, TTCN-3, Graphical modeling framework
PDF Full Text Request
Related items