基本信息来源于合作网站,原文需代理用户跳转至来源网站获取       
摘要:
There exist many automated unit test-generator tools for Java with the primary task of generating test cases, comprised of inputs and a corresponding oracle, each of which is explicitly paired with a specific supporting test implementation. The authors posit that this explicit pairing, or conflating, of test implementation with test case is unnecessary and counter-productive. The authors address this problem by separating the conflated concerns into two distinct tasks: 1) instantiating test implementations and 2) instantiating test cases. This paper focuses on automating the first task in support of the second with the goal of freeing the test engineer to concentrate on test case instantiation. The authors present a new open-source test-preparation tool Obsidian that produces robust, comprehensive, and maintainable unit test implementations. Obsidian, built on the JUnit framework, uses a set of context patterns and associated algorithms combined with information from the Java Reflection API to generate these unit test implementations from Java byte code. These context patterns guide Obsidian to prepare test implementations that guarantee compilation, support exception handling, enable multiple test cases when required, and provide a suitable location for assertions about the test case outcome(s). Obsidian supports regression testing and test-driven development through its novel audits of the testing process.
推荐文章
Twig pattern查询处理研究综述和分析
小枝模式
索引
连接算法
动态自适应Pattern时延差编码水声通信
水声通信
Pattern时延差编码
动态自适应
内容分析
关键词云
关键词热度
相关文献总数  
(/次)
(/年)
文献信息
篇名 Obsidian: Pattern-Based Unit Test Implementations
来源期刊 软件工程与应用(英文) 学科 医学
关键词 Unit-Testing AUTOMATED TESTING TESTING TOOL
年,卷(期) 2014,(2) 所属期刊栏目
研究方向 页码范围 94-103
页数 10页 分类号 R73
字数 语种
DOI
五维指标
传播情况
(/次)
(/年)
引文网络
引文网络
二级参考文献  (0)
共引文献  (0)
参考文献  (0)
节点文献
引证文献  (0)
同被引文献  (0)
二级引证文献  (0)
2014(0)
  • 参考文献(0)
  • 二级参考文献(0)
  • 引证文献(0)
  • 二级引证文献(0)
研究主题发展历程
节点文献
Unit-Testing
AUTOMATED
TESTING
TESTING
TOOL
研究起点
研究来源
研究分支
研究去脉
引文网络交叉学科
相关学者/机构
期刊影响力
软件工程与应用(英文)
月刊
1945-3116
武汉市江夏区汤逊湖北路38号光谷总部空间
出版文献量(篇)
885
总下载数(次)
0
总被引数(次)
0
论文1v1指导