首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于Feed4JUnit架构的单元测试技术研究与应用
引用本文:杨鹏.基于Feed4JUnit架构的单元测试技术研究与应用[J].中国工程师,2014(7):25-27.
作者姓名:杨鹏
作者单位:广州番禺职业技术学院信息工程学院,广东广州511483
基金项目:广州番禺职业技术学院科技项目,组件自动化测试的研究与Junit技术实现
摘    要:软件测试技术在软件质量控制过程中一直起着非常重要的作用。JUnit是被广泛应用的Java单元测试框架,主要测试基于java语言编写的程序代码,用于编写和运行可重复的测试。Feed4JUnit是开源的基于JUnit的扩展,通过使用Feed4JUnit提供的注释,用户可以很方便地把测试数据存放在文件或其他数据源。本文分析了应用Feed4JUnit进行单元测试的方法,并通过实际开发示例实现数据与代码分离的测试。

关 键 词:Feed4JUnit架构  单元测试  数据源

Research on Unit Testing Technology Based on Feed4JUnit Architecture
Authors:YANG Peng
Institution:YANG Peng(School of Information Engineering Guangzhou Panyu Polytechnic,Guangzhou 511483,China)
Abstract:Software testing technology has been under the control of software processto use is very important.Unit is the Java unit test framework is widely used,mainly used for testing the class and method based on the Java language,Feed4JUnit is the extension of JUnit based on open source, using the Feed4JUnit annotation,the usercan be very convenient to test the data stored in a ifle or other data source.This paperanalyzes the application of Feed4JUnit unit test methods,and through the actualexample of developing,realize the separation of data and code test.
Keywords:Feed4JUnit  unit test  data source
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号