资 源 简 介
cpp-ut-project Introduction
User Guide
This is a C/C++ test sample project, using testngpp, mockcpp and premake. It aims at making C/C++ test harmless and full of fun.
This project not only can generate project files, but also can create .h/.cpp/test files for class/feature, run "premake4 --usage addfile" to show more.
Before you use this project, be sure about that you have compiled testngpp and mockcpp, and have put the installed files in tools, see also the structure of dir.
And then you can use this project following these steps.
Windows
1 Run cmd, change to the UserModule dir, run "premake4 vs2005".
2 Change to ../build/vs2005 dir, use the .sln/vcproj.
Linux
1 Install premake4.
2 Run cmd, change to the UserModule dir, run "premake4 gmake".
3 Change to ../build/gmake dir, run "make all&qu