Lightweight C++ unit test framework, is based on the original by Michael Feathers. See more.
Require installed cmake
brew tap denleyhsiao/tap && brew install CppUnitLite- Download source:
git clone https://github.com/denleyhsiao/CppUnitLite - Modify configure:
ccmake .- ENABLE_MEMORYLEAKWARN:Open or close memory leak warn check,default open
- Build & install
cmake .
make
make install- Uninstall:
cat install_manifest.txt | sudo xargs rm
This is a unit test application based deque :DequeTest,and use CppUnitLite as unit test framework.
It include follow files:
| filename | description |
|---|---|
| main.cpp | main file |
| DequeTest.cpp | unit test file with self-define SetUp/TearDown |
| DequeDefaultTest.cpp | unit test file with default SetUp/TearDown |
| Deque.h/Deque.cpp | deque define & implement file |