Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams

Autor: Peerawut Luengruengroj, Taratip Suwannasart
Rok vydání: 2018
Předmět:
Zdroj: CSII
DOI: 10.1109/csii.2018.00013
Popis: This paper aims to present a tool named "Stubs and Drivers Generation Tool" which is a web application for generating stub and driver source code from an UML, sequence diagram and a class diagram. Testers can automate the unit testing with our tool. The tool will read the XML file of a sequence diagram and a class diagram. Next, the tool processes the XML file and create a call graph from the sequence diagram. After a tester selects a class under test and set values of the class under test source code attributes, the tool will create the stub and driver from set attributes. The tester can customize the source code and export the source code file for using in the testing process.
Databáze: OpenAIRE