Registry / testing / umock-c

umock-c

JSON →
library2022-01-21vcpkgunverified

A pure C mocking library for unit testing C code.

vcpkg install umock-c
INSTALL
IMPORT
SIG · UMOCK-C
U
umock-c
testingcppv2022-01-21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

umock_c/umock_c.h
#include <umock_c/umock_c.h>

Initialize and deinitialize the umock-c mocking framework

#include <umock_c/umock_c.h> #include <stdio.h> int main() { umock_c_init(); printf("umock-c initialized\n"); umock_c_deinit(); return 0; }
Debug
Known issues
gotchaumock-c is a C library; using it in C++ requires extern "C" linkage.
fix
Wrap includes with extern "C" { ... } or use a C++ wrapper.
affects: all
Upgrade
Version history
2022-01-21latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources

No resource links recorded.

umock-c — pip install umock-c · libregistry