WFCTest is a library and preprocessor designed to create unit and integration tests for the C and C++ languages. It has arisen to simplify writing test cases for a variety of compilers, some of which may predate even the C89 standard. It is provided in the hope that it may be useful in other projects to generate test cases as would be seen in other programming environments.
Warning: Older projects may have to be compiled with -DDEBUG_NEW_CONFIG_HAVE_DEPRECATED
Debug_New offers the possibility of debugging memoryleaks, not only (note the "not only"; that's just one of its functions) in a <report-memory-leaks-on-shutdown> kind of way, but implemented using memory-states.
- Cross platform + Cross compiler support (only utilizes the preprocessor and template-voodoo-magic for c++)
- Supports C and C++
- Supports gcc and g++
- Supports pthread and any posix platform
- Multithreading is supported.
- Easy to use and install (just include the header and link the source).
- Easily debug memory-leaks.
- Easily debug dangling pointers.
- Easily debug deallocation method correctness...