使用序列图和类图进行面向对象程序测试的存根和驱动程序生成器

Peerawut Luengruengroj, T. Suwannasart
{"title":"使用序列图和类图进行面向对象程序测试的存根和驱动程序生成器","authors":"Peerawut Luengruengroj, T. Suwannasart","doi":"10.1109/CSII.2018.00013","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":202365,"journal":{"name":"2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams\",\"authors\":\"Peerawut Luengruengroj, T. Suwannasart\",\"doi\":\"10.1109/CSII.2018.00013\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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.\",\"PeriodicalId\":202365,\"journal\":{\"name\":\"2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-07-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSII.2018.00013\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 5th International Conference on Computational Science/ Intelligence and Applied Informatics (CSII)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSII.2018.00013","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

本文旨在介绍一个名为“存根和驱动程序生成工具”的工具,这是一个用于从UML、序列图和类图中生成存根和驱动程序源代码的web应用程序。测试人员可以使用我们的工具自动化单元测试。该工具将读取序列图和类图的XML文件。接下来,该工具处理XML文件并从序列图创建调用图。在测试人员选择了一个被测试的类,并设置了被测试的源代码属性下的类的值之后,工具将根据设置的属性创建存根和驱动程序。测试人员可以自定义源代码并导出源代码文件,以便在测试过程中使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Stubs and Drivers Generator for Object-Oriented Program Testing Using Sequence and Class Diagrams
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Measurement of Line-of-Sight Detection Using Pixel Quantity Variation and Application for Autism A Data Migration Scheme Considering Node Reliability for an Autonomous Distributed Storage System Shape Recovery Using Improved Fast Marching Method for SEM Image Publisher's Information Personal KANSEI Coordinating System for Room Interior Design
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1