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

自动化单元测试框架NUnit的改进设计与实现
引用本文:王桐.自动化单元测试框架NUnit的改进设计与实现[J].电脑与信息技术,2013,21(2):36-41.
作者姓名:王桐
作者单位:天水师范学院,甘肃天水,741000
摘    要:软件测试对确保软件质量有着不可替代的作用。自动化测试框架有效提高了测试效率,自动化测试框架的成熟是软件测试走向标准化的必经之路。文章改进了自动化单元测试框架NUnit,使测试代码和测试数据分离,解决了使用NUnit测试时测试代码存在大量冗余的问题。在改进的NUnit框架中,相似的测试用例只需测试人员编写一次,框架将自动生成其他测试用例。

关 键 词:自动化单元测试  NUnit框架  测试代码与数据分离

Improved Design and Implementation of Automated Unit Testing Framework NUnit
WANG Tong.Improved Design and Implementation of Automated Unit Testing Framework NUnit[J].Computer and Information Technology,2013,21(2):36-41.
Authors:WANG Tong
Affiliation:WANG Tong (Tianshui Normal University, Tianshui 741000, China)
Abstract:Software testing plays an irreplaceable role in ensuring software quality. The automated testing framework improve the efficiency of testing effectively, and the mature of the automated testing framework is the assurance for the standardization of software testing. This paper improves the automated testing framework NUnit by separating the test co -de and the test data.It solves the problems of redundant test code when use NWnit to test. In the improved NUnit framework, tester is suposed to write just one test case for the same test function,and the framework will generate other testing cases automatically.
Keywords:automated unit test  NUnit framework  separate test code and test data
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号