【文件属性】:
文件名称:c#毕业设计源码下载-cpputest:C/C++的CppUTest单元测试和模拟框架
文件大小:675KB
文件格式:ZIP
更新时间:2021-05-19 13:11:37
系统开源
c#毕业设计源码下载CppUTest
C
/
C
++的CppUTest单元测试和模拟框架
松弛频道:
入门
您需要执行以下操作才能开始:
从源代码构建(基于unix,cygwin,MacOSX):
git
clone
git://github.com/cpputest/cpputest.git
cd
cpputest_build
autoreconf
..
-i
../配置
制作
如果要在系统范围内安装CppUTest,则可以使用make
install
您还可以使用CMake,它也适用于Windows
Visual
Studio。
下载最新版本
cmake
CMakeLists.txt
制作
然后,开始之前,您需要执行以下操作:
将包含路径添加到Makefile。
就像是:
CPPFLAGS
+
=
-I
$(CPPUTEST_HOME)/
include
将内存泄漏宏添加到您的Makefile中(需要其他调试信息!)。
就像是:
CXXFLAGS
+
=-包括$(CPPUTEST_HOME)/include/CppUTest/MemoryLeakDetectorNewMacros