Go to file
Andreas Schneider 8ed891eb28 Bump version to 1.1.2 2018-08-29 16:02:47 +02:00
cmake/Modules cmake: Remove obsolete DefineCompilerFlags.cmake 2018-08-22 13:02:28 +02:00
coverity coverity: Add _assert_return_code model. 2014-04-15 16:49:07 +02:00
doc doc: Fix PRINTF_ATTRIBUTE define 2018-08-29 15:45:00 +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: Update copyright 2018-08-29 16:02:47 +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 Bump version to 1.1.2 2018-08-29 16:02:47 +02:00
COPYING misc: Fix license in COPYING. 2011-05-31 21:17:09 +02:00
CPackConfig.cmake cpack: Generate tarball compressed with xz 2018-08-29 16:02:47 +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: Improve compiler checks 2018-08-24 12:05:14 +02:00
ConfigureChecks.cmake cmocka: Change define to HAVE_CLOCK_REALTIME 2017-04-07 16:11:24 +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: Add cmake config mode support. 2014-01-20 23:39:19 +01: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: Add pkgconfig file. 2013-02-11 16:25:59 +01:00
config.h.cmake cmocka: Change define to HAVE_CLOCK_REALTIME 2017-04-07 16:11:24 +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