? 什么是 CppUnit
? CppUnit 架構
? 產品代碼與測試代碼關系
? CppUnit的原理
什么是UnitTest Framework
? 單元測試框架是編寫和運行單元測試的軟件工具,用來構建測試、運行測試、報告測試結果
? unit test famework 的歷史以及 CppUnit
JUnit -> xUnit(含CppUnit )
? xUnit 家族
Junit - The reference implementation of xUnit
CppUnit - The C++ port of JUnit
NUnit - The xUnit for .NET
PyUnit - The Python version of xUnit
MinUnit - minimal but functional C Languages unit test framework
XmlUnit – for XML contents
什么是 CppUnit
? CppUnit是個基于 LGPL 的開源項目,最初版本移植自 JUnit ,是一個非常優秀的開源測試框架。CppUnit和 JUnit 一樣主要思想來源于極限編程(XProgramming)。主要功能就是對單元測試進行管理,并可進行自動化測試。
CppUnit 架構--- namespace
CppUnit 架構--- key classes
CppUnit 架構--- classes to collect test results
CppUnit 架構--- outputter classes for printing test results
產品代碼與測試代碼關系
文章來源于領測軟件測試網 http://www.kjueaiud.com/