Chi-Kuang Chang, Nai-Wei Lin
{"title":"UTGen: A Black-Box Method-Level Unit-Test Generator for JUnit Test-Platform","authors":"Chi-Kuang Chang, Nai-Wei Lin","doi":"10.1109/TSA.2015.12","DOIUrl":null,"url":null,"abstract":"Automatic test case execution is crucial for test-driven development (TDD) approach. It is beneficial if test cases can be automatically generated and executed. In this paper, we present UTGen, an Eclipse plugin for the generation and execution of test cases for JUnit test-platform. It is based on the idea of constraint-based testing, working for the methodlevel black-box unit testing. Test data are generated from models specified in UML class diagrams and OCL specifications. Each test data contains test fixture, test inputs and expected outputs. UTGen converts the test data into test cases, and can execute the test cases automatically.","PeriodicalId":293345,"journal":{"name":"2015 Second International Conference on Trustworthy Systems and Their Applications","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Second International Conference on Trustworthy Systems and Their Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TSA.2015.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

自动测试用例执行对于测试驱动开发(TDD)方法是至关重要的。如果测试用例可以自动生成和执行,这是有益的。在本文中,我们介绍了UTGen,一个用于生成和执行JUnit测试平台测试用例的Eclipse插件。它基于基于约束的测试思想,为方法级黑盒单元测试工作。测试数据是从UML类图和OCL规范中指定的模型生成的。每个测试数据包含测试夹具、测试输入和预期输出。UTGen将测试数据转换成测试用例,并能自动执行测试用例。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
UTGen: A Black-Box Method-Level Unit-Test Generator for JUnit Test-Platform
Automatic test case execution is crucial for test-driven development (TDD) approach. It is beneficial if test cases can be automatically generated and executed. In this paper, we present UTGen, an Eclipse plugin for the generation and execution of test cases for JUnit test-platform. It is based on the idea of constraint-based testing, working for the methodlevel black-box unit testing. Test data are generated from models specified in UML class diagrams and OCL specifications. Each test data contains test fixture, test inputs and expected outputs. UTGen converts the test data into test cases, and can execute the test cases automatically.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信