- 1、本文档共18页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
word完美格式
精心整理 学习帮手
JUTA:一个Java自动化单元测试工具
严 俊1 郭 涛2 阮 辉1 玄跻峰3
(中国科学院软件研究所 北京 100190)
(中国信息安全测评中心 北京 100085)
(大连理工大学数学科学学院 辽宁大连 116024)
HYPERLINK mailto:(junyan@) (junyan@)
JUTA:An Automated Unit Testing Framework for Java
Yan Jun1,Guo Tao2,Ruan Hui1,and Xuan Jifeng3
1(Institute ofSoftware,Chinese Academy ofSciences,Beijing100190)
2(China Information Technology Security Evaluation Center,Beijing100085)
3(Schoolof Mathematical Sciences,Dalian University of Technology,Dalian,Liaoning116024)
Abstract Testing is very important and time consuming in the development of high-quality software
systems.This paper proposes an automatic testing tool JUTA for unit testing of Java programs.The
approach is based on sharp analysis of the programs.JUTA firstly employs the Java optimization
framework Soot to parse a single Java method into byte code and translates it into a control flow graph
(CFG).It then performs depth-first or breadth-first search on the CFG to extract paths from it.Some
techniques such as path length restriction are used to prevent path number explosion.Finally JUTA
analyzes the paths based on the combination of symbolic execution and constraint solving.The goal of
path analysis lies in two folds.It can generate a set of test cases satisfying the test criterion such as
statement coverage.The test set typically has small number of test cases that are all executable.In
addition to test generation for dynamic testing,it can also be used in static testing.JUTA can reveal
certain kinds of errors from the source code automatically if the user provides proper assertions to
describe the errors.The experimental results show that this tool is efficient for both dynamic and
static testing.
Key words Java unit testing;dynamic testing;static testing;program analysis;symbolic execution
摘 要 描述了一个Java自动化的单元测试工具JUTA.JUTA首先调用工具Soot解析单个Java方法
的源码,并将源码解析成一个控制流图.在此基础上,采用符号执行的方法分析控制流图上的路径.工具
能够自动地产生满足覆盖率标准的程序的测试用例.这种方法产生的所有测试用例都是可执行的,并且
一般来说具有较小的测试用例数.如果用户能够合理地
您可能关注的文档
- 《高级语言程序设计(VB)》试题样题.doc
- 《高中物理课堂教学中小组合作学习策略的研究》课题研究实施方案报告书.doc
- 《火灾自动报警系统施工和验收规范》.doc
- 《机动车驾驶员培训管理规定》(2016.5.31整理修改稿).doc
- 《机械设计》考试复习试题(2011)(计算题答案).doc
- 《机械振动》课程期终考试卷_答案.doc
- 《旅游目的地营销与管理》复习资料全.doc
- 《美丽的祖国》活动设计方案.doc
- 《面向对象程序设计c++》期末复习试题.doc
- 《农业企业经营管理学》复习试题.doc
- 2024-2030年中国全自动蛋白印迹仪行业前景动态与未来趋势预测报告.docx
- 2024-2030年中国全身感染治疗行业市场发展趋势与前景展望战略分析报告.docx
- 2024-2030年中国六氯乙硅烷行业市场发展趋势与前景展望战略分析报告.docx
- 2024-2030年中国全釉瓷砖行业市场发展趋势与前景展望战略分析报告.docx
- 2024-2030年中国光电池行业市场发展趋势与前景展望战略分析报告.docx
- 2024-2030年中国光纤适配器行业运营态势与前景动态预测报告.docx
- 2024-2030年中国光纤加速度计(FOA)行业前景动态与投资盈利预测报告.docx
- 2024-2030年中国光敏高分子材料市场现状调查与未来发展趋势研究研究报告.docx
- 2024-2030年中国保健品行业发展分析及投资风险预测分析报告.docx
- 2024-2030年中国全装修营销态势与投资盈利预测报告.docx
文档评论(0)