检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王桐[1]
机构地区:[1]天水师范学院,甘肃天水741000
出 处:《电脑与信息技术》2013年第2期36-41,共6页Computer and Information Technology
摘 要:软件测试对确保软件质量有着不可替代的作用。自动化测试框架有效提高了测试效率,自动化测试框架的成熟是软件测试走向标准化的必经之路。文章改进了自动化单元测试框架NUnit,使测试代码和测试数据分离,解决了使用NUnit测试时测试代码存在大量冗余的问题。在改进的NUnit框架中,相似的测试用例只需测试人员编写一次,框架将自动生成其他测试用例。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.
关 键 词:自动化单元测试 NUnit框架 测试代码与数据分离
分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.148.106.2