cppunit官方文档浅析

使用doxygen生成官方文档

cppunit使用了doxygen作为它的文档建设工具,所以我们要找的“官方文档”,其实就在cppunit的代码里面。

请先参考博文《下载doxygen》(链接:http://www.cnblogs.com/duxiuxing/p/4301015.html)完成doxygen的下载和安装。

doxygen的安装程序会将其路径添加到系统环境变量中:

我们只需要去到运行cppunit文件夹下的批处理命令“docmakedox.bat”就能自动生成html格式的文档,用网页浏览器打开“dochtmlindex.html”即可查看文档内容:

doxygen官方文档导读

教学指引类的文档主要分布在“Related Pages”和“Modules”两个部分:

以下是官网文档和对应的中文翻译版本:

Related Pages

  • CppUnit Cookbook

http://www.docin.com/p-8624.html

http://download.51testing.com/ddimg/uploadsoft/20100414/CppUnitCookBook.pdf

  • Money,a step by step example
 
Modules
  • Writing test fixture
 
  • Making assertions
 
  • Creating TestSuite
 
  • Executing test
 
  • Tracking test execution
 
  • Writing test result
 
  • Browsing collected test result
 
  • Creating custom assertions
 
  • Writing Test Plug-in
 

系列文章索引:http://www.cnblogs.com/duxiuxing/p/4303761.html

原文地址:https://www.cnblogs.com/duxiuxing/p/4303954.html