{"title":"使用序列和类图进行类集成测试的存根和驱动程序生成器","authors":"Peerawut Luengruengroj, T. Suwannasart","doi":"10.1145/3374549.3374572","DOIUrl":null,"url":null,"abstract":"This paper aims to present an upgraded \"Stubs and Drivers Generating Tool\" from our previous research [1] which proposed a web-application for generating stubs and drivers for unit testing. However, the tool has limitations in generating stubs and drivers from a class diagram with abstraction and it allows a tester to select only one class under test for generating them while generated drivers do not include test input values. This enhanced tool generates stubs and drivers with test input values using UML sequence and class diagrams. A tester can perform class integration testing automation with the tool by importing both sequence and class diagrams in XML format. Then, extracting and analyzing elements to produce a call graph. The tester can select a group of classes under test. After that, the tool generates a set of stub and driver files for class integration testing. The tool also randomly generates test input values and expected result for drivers. Finally, the tester can customize the source code generated from the tool and export these files for using in class integration testing process.","PeriodicalId":187087,"journal":{"name":"Proceedings of the 2019 3rd International Conference on Software and e-Business","volume":"3 2","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Stubs and Drivers Generator for Class Integration Testing Using Sequence and Class Diagrams\",\"authors\":\"Peerawut Luengruengroj, T. Suwannasart\",\"doi\":\"10.1145/3374549.3374572\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper aims to present an upgraded \\\"Stubs and Drivers Generating Tool\\\" from our previous research [1] which proposed a web-application for generating stubs and drivers for unit testing. However, the tool has limitations in generating stubs and drivers from a class diagram with abstraction and it allows a tester to select only one class under test for generating them while generated drivers do not include test input values. This enhanced tool generates stubs and drivers with test input values using UML sequence and class diagrams. A tester can perform class integration testing automation with the tool by importing both sequence and class diagrams in XML format. Then, extracting and analyzing elements to produce a call graph. The tester can select a group of classes under test. After that, the tool generates a set of stub and driver files for class integration testing. The tool also randomly generates test input values and expected result for drivers. Finally, the tester can customize the source code generated from the tool and export these files for using in class integration testing process.\",\"PeriodicalId\":187087,\"journal\":{\"name\":\"Proceedings of the 2019 3rd International Conference on Software and e-Business\",\"volume\":\"3 2\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-12-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2019 3rd International Conference on Software and e-Business\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3374549.3374572\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2019 3rd International Conference on Software and e-Business","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3374549.3374572","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Stubs and Drivers Generator for Class Integration Testing Using Sequence and Class Diagrams
This paper aims to present an upgraded "Stubs and Drivers Generating Tool" from our previous research [1] which proposed a web-application for generating stubs and drivers for unit testing. However, the tool has limitations in generating stubs and drivers from a class diagram with abstraction and it allows a tester to select only one class under test for generating them while generated drivers do not include test input values. This enhanced tool generates stubs and drivers with test input values using UML sequence and class diagrams. A tester can perform class integration testing automation with the tool by importing both sequence and class diagrams in XML format. Then, extracting and analyzing elements to produce a call graph. The tester can select a group of classes under test. After that, the tool generates a set of stub and driver files for class integration testing. The tool also randomly generates test input values and expected result for drivers. Finally, the tester can customize the source code generated from the tool and export these files for using in class integration testing process.