基于JUnit自动化单元测试的研究  被引量:21

Research of Automatic Unit Test Based on JUnit

在线阅读下载全文

作  者:白凯[1] 崔冬华[1] 

机构地区:[1]太原理工大学计算机与软件学院,太原030024

出  处:《计算机与数字工程》2010年第2期52-54,103,共4页Computer & Digital Engineering

基  金:山西省回国留学人员科研资助项目(编号:2007-27)资助

摘  要:软件测试在软件质量控制过程中起着非常重要的作用,单元测试尤为重要。JUnit是非常强大的单元测试工具,主要用于测试基于java语言编写的类和方法,而且它还能把不同的测试用例组织成测试用例集来进行测试,使测试运行自动化。文章分析了应用JUnit单元测试方法以及使用JUnit结合Ant构建工具来实现单元自动化测试及增量开发。Testing is playing a very important role in the process of software quality control. Unit testing is even more important. Junit is a very powerful unit testing tool, which can test class and the methods of class. It also can organize the different Testcases into the TestSuite, which can make the testing task be run automatically. This article analyses the application of JUnit and describes unit automatic testing and incremental development with Ant and JUnit.

关 键 词:JUNIT 测试用例集 ANT 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象