You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Andreas Schneider 106c4fbce2 tests: Add negative tests for assert_int_in_range() 2 weeks ago
cmake cmake: Fix path where to find cmocka.dll 4 months ago
coverity coverity: Fix assert model 4 years ago
doc doc: Add stdint.h to headers 2 years ago
example examples: Add missing compile and link options 4 months ago
include cmocka: Add assert_int_in_range() 2 weeks ago
src tests: Add tests for assert_int_in_range() 2 weeks ago
tests tests: Add negative tests for assert_int_in_range() 2 weeks ago
.clang_complete Add obj directory for config.h to .clang_complete. 9 years ago
.editorconfig Update editorconfig 4 months ago
.gitignore gitignore: Add .cache directory 4 months ago
.gitlab-ci.yml gitlab-ci: Add support for coverity 4 months ago
.ycm_extra_conf.py Add YouCompleteMe config. 8 years ago
AUTHORS cmocka: Implement a new test runner. 7 years ago
CMakeLists.txt cmake: Export cmake config for cmocka 3 years ago
COPYING misc: Fix license in COPYING. 11 years ago
CPackConfig.cmake cmake: Set the project version 4 years ago
CTestConfig.cmake ctest: Move to new dashboard 4 years ago
ChangeLog Bump version to 1.1.5 3 years ago
CompilerChecks.cmake Always pass stack-protector flag to linker 4 months ago
ConfigureChecks.cmake Don't redefine uintptr_t 3 years ago
DefineOptions.cmake cmocka: Remove deprecated functions and cmockery legacy support 2 years ago
INSTALL.md Fix in INSTALL.md cmake required version (i.e. >= 3.5.0) 3 years ago
NEWS Tue Aug 26 10:18:02 2008 Google Inc. <opensource@google.com> 14 years ago
README.md Add API website 4 years ago
cmocka-build-tree-settings.cmake.in cmake: Fix usage of cmocka with build tree 3 years ago
cmocka.pc.cmake cmake: Do not use uninitialized variables 4 years ago
config.h.cmake Don't redefine uintptr_t 3 years ago
meson.build Better integration of cmocka as meson-build git subprojects 2 years ago
meson_options.txt meson: Build and run unit tests 3 years ago

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