Go to file
Andreas Schneider 2af6e52259 coverity: Fix assert model 2018-11-08 19:58:00 +01:00
cmake cmake: Always build position independent code 2018-10-02 14:47:35 +02:00
coverity coverity: Fix assert model 2018-11-08 19:58:00 +01:00
doc cmake: Fix doxygen generation 2018-10-24 16:34:30 +02:00
example examples: Fix memory leak in uptime test 2018-11-08 19:54:03 +01:00
include cmake: Use GNUInstallDirs 2018-09-10 10:54:19 +02:00
src cmocka: Use string format 2018-11-08 19:54:03 +01:00
tests cmake: Update AddCMockaTest 2018-09-27 13:35:52 +02:00
.clang_complete Add obj directory for config.h to .clang_complete. 2013-12-13 10:55:40 +01:00
.gitignore Ignore all build and obj* directores 2015-10-28 09:27:10 +01:00
.gitlab-ci.yml gitlab-ci: Add csbuild 2018-11-07 08:30:30 +01:00
.ycm_extra_conf.py Add YouCompleteMe config. 2014-04-11 15:09:12 +02:00
AUTHORS cmocka: Implement a new test runner. 2015-02-08 10:29:09 +01:00
CMakeLists.txt cmake: Fix doxygen generation 2018-10-24 16:34:30 +02:00
COPYING misc: Fix license in COPYING. 2011-05-31 21:17:09 +02:00
CPackConfig.cmake cmake: Set the project version 2018-09-10 08:40:51 +02:00
CTestConfig.cmake ctest: Move to new dashboard 2018-07-05 10:18:59 +02:00
ChangeLog Bump version to 1.1.3 2018-09-27 14:34:45 +02:00
CompilerChecks.cmake cmake: Only check for -Wno-gnu-zero-variadic-macro-arguments with clang 2018-10-02 14:47:33 +02:00
ConfigureChecks.cmake cmake: Do not use uninitialized variables 2018-09-11 09:28:44 +02:00
DefineOptions.cmake cmake: Only install static lib if requested 2018-09-27 13:32:36 +02:00
INSTALL.md Rename README and INSTALL 2018-06-07 10:22:42 +02:00
NEWS Tue Aug 26 10:18:02 2008 Google Inc. <opensource@google.com> 2008-08-26 17:51:56 +00:00
README.md Add API website 2018-06-07 12:49:14 +02:00
cmocka-build-tree-settings.cmake.in cmake: Add cmake config mode support. 2014-01-20 23:39:19 +01:00
cmocka-config.cmake.in cmake: Use CMakePackageConfigHelpers 2018-09-18 09:39:51 +02:00
cmocka.pc.cmake cmake: Do not use uninitialized variables 2018-09-11 09:28:44 +02:00
config.h.cmake cmake: Set the project version 2018-09-10 08:40:51 +02:00

README.md

cmocka

cmocka is an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers.

For information about how to use the cmocka unit testing framework see doc/index.html or https://api.cmocka.org/.

Compiling

To compile the cmocka library and example applications run, create a build dir, and in the build dir call 'cmake /path/to/cmocka' followed by 'make'. On Windows you can use the cmake gui. More details can be found in the INSTALL file.

Website

https://cmocka.org