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

基于TypeMock Isolator隔离框架的单元测试
引用本文:周建辉. 基于TypeMock Isolator隔离框架的单元测试[J]. 常州信息职业技术学院学报, 2013, 12(4): 23-26
作者姓名:周建辉
作者单位:南通纺织职业技术学院机电工程学院 江苏南通226007
摘    要:首先分析了单元测试的重要性,然后讨论了单元测试面临的难题,重点介绍了解决这些难题的隔离框架TypeMock Isolator的众多优点,最后研究了该框架在一个平台开发中的应用,包括测试环境搭建、测试组织、典型案例、代码运行,实践证明,应用该框架可以大大提高单元测试效率,是.Net项目的单元测试隔离框架的首选。

关 键 词:单元测试  隔离框架  TypeMock Isolator

The Unit Test Based on the TypeMock Isolator Isolation Framework
ZHOU Jian-hui. The Unit Test Based on the TypeMock Isolator Isolation Framework[J]. Journal of Changzhou Vocational College of Information Technology, 2013, 12(4): 23-26
Authors:ZHOU Jian-hui
Affiliation:ZHOU Jian-hui (Mechanical and Electrical Engineering College, Nantong Textile Vocational Technology College, Nantong 226007,China)
Abstract:Through analyzing the importance of the unit test, this paper discusses the difficulties of unit test, and mainly introduces the ad- vantages of the TypeMock Isolator isolation framework. Finally, applications of this framework in a platform development are studied, including the establishment of test environment, test organization, typical case and code running. Practice shows that ap- plying this framework can greatly improve the efficiency of unit test, and it is the first choice in .Net project unit test.
Keywords:unit test  isolation framework  Typemock Isolator
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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