首页 | 官方网站   微博 | 高级检索  
     

用JFCunit对GUI图形界面进行单元测试
引用本文:谢煜涛,左雪梅.用JFCunit对GUI图形界面进行单元测试[J].中国测试技术,2005,31(3):78-80.
作者姓名:谢煜涛  左雪梅
作者单位:1. 电子科技大学计算机科学与工程学院,四川,成都,610054
2. 中兴通讯成都研究所,四川,成都,610041
基金项目:国家863计划项目(2002AA1Z2306)
摘    要:Junit是现在软件开发过程中最常用的单元测试工具,它为软件的自动化单元测试实现提供了一个理想的测试框架,它主要是针对功能性代码的测试。WCunit是基于Junit扩展而来,专门用来解决GUI图形界面单元测试的问题。本文先简要介绍了Junit和WCunit的基本框架,然后对JFCunit和Junit的特点进行比较,分析了JFcunit的适用范围以及使用JFCunit的好处;最后以一个简单实例阐述了使用WCunit进行GUI图形界面单元测试的一般方式。

关 键 词:Junit  JFCunit  GUI  UNIT  TEST  Testing-Frame  work
文章编号:1672-4984(2005)03-0078-03
修稿时间:2004年10月10

How to use JFCunit to unit test
XIE Yu-tao,ZOU Xue-mei.How to use JFCunit to unit test[J].China Measurement Technology,2005,31(3):78-80.
Authors:XIE Yu-tao  ZOU Xue-mei
Abstract:Junit is Open Source Software.Junit is a simple test framework for building and executing unit tests.JFCunit is an extension to the popular testing framework Junit.Any application that is written usually has a user interface associated with it so that users can interact with the system (for eg: inputting data, generating reports based on data that exists in databases, etc.).For application developers, testing forms an integral part of the development life-cycle.This paper proposed at analysing the advantages and disadvantages of JFCUnit and give an sample to show how to use JFCunit to testing.
Keywords:Junit  JFCunit  GUI  UNIT TEST  Testing-Frame work  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号