Skip to content

C++ unit test

关于unit test的理论知识,参见工程programming-language的Software-development\Software-testing章节。

目前我只要使用的是Googletest,在./Googletest中对它进行了说明。

microsoft Write unit tests for C/C++ in Visual Studio

You can write and run your C++ unit tests by using the Test Explorer window.

TODO

stackoverflow Comparison of C++ unit test frameworks [closed]

Google Test

stackoverflow Unit testing for C++ code - Tools and methodology [closed]

CppUnit and CppUnitLite.