Go to file
Andreas Schneider e82970c97a cmake: Set the project version 2018-09-10 08:40:51 +02:00
cmake/Modules cmake: Move compiler flags to new file 2018-09-10 08:36:38 +02:00
coverity coverity: Add _assert_return_code model. 2014-04-15 16:49:07 +02:00
doc cmake: Set the project version 2018-09-10 08:40:51 +02:00
example cmake: Add new CompilerCheck.cmake 2018-08-22 13:02:28 +02:00
include cmocka: Update copyright 2018-08-29 16:02:47 +02:00
src cmocka: Remove emtpy newline at the end of the file 2018-09-06 16:51:17 +02:00
tests cmake: Don't use CMAKE_SOURCE_DIR 2018-08-29 15:45:17 +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
.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: Set the project version 2018-09-10 08:40:51 +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.2 2018-08-29 16:02:47 +02:00
CompilerChecks.cmake cmake: Use -Wpedantic and remove -pedantic-errors 2018-09-06 08:03:39 +02:00
ConfigureChecks.cmake cmake: Set the project version 2018-09-10 08:40:51 +02:00
DefineOptions.cmake cmake: Add new CompilerCheck.cmake 2018-08-22 13:02:28 +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-version.cmake.in cmake: Set the project version 2018-09-10 08:40:51 +02:00
cmocka-config.cmake.in cmake: Mark cmocka library and include dir as advanced 2018-03-21 14:31:03 +01:00
cmocka.pc.cmake cmake: Set the project version 2018-09-10 08:40:51 +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