Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams
Peerawut Luengruengroj, Taratip Suwannasart · 2018
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.