大规模C++软件系统测试驱动开发的设计与实践  

Design and Practices of Test-driven Development in a Large C++ System

在线阅读下载全文

作  者:王迎霞[1] 

机构地区:[1]华东师范大学信息化办公室,上海200241

出  处:《计算机技术与发展》2012年第9期95-98,共4页Computer Technology and Development

基  金:国家发改委2008年下一代互联网业务试商用及设备产业化专项(CNGI2008-121)

摘  要:介绍了在LINUX环境下采用测试驱动开发(Test-Driven Development,TDD),对大规模C++软件系统进行增量开发的方法。通过采用Google单元测试框架优化单元测试用例结构,提高单元测试的效率,采用新一代版本构建工具Scons优化复杂的代码依赖关系,采用分布式编译工具Distcc、编译器缓存工具CCache优化版本构建时间,极大减少了软件开发人员在开发过程中进行TDD所必需的频繁本地构建的成本,为在大规模C++历史遗留系统上,采用TDD进行增量开发,以及进行由此带来的小规模重构提供了有效保证。Introduced in a LINUX environment,the method of using the test-driven development in a large-scale C++ software system. By using Google unit test framework to improve test efficiency,and using Scons version building tools to reduce dependency relations in source code,and using Distcc distributed compile tools,CCache compiler cache tools to reduce the time of software construction and improve the development environment, finally provide an effective guarantee to do incremental development in a large-scale history software system by using TDD.

关 键 词:测试驱动开发 增量开发 单元测试 软件重构 持续集成 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象