Skip to content

cliffordthompson/mock-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mock-me

Bare C function mocking utility. This is currently a work in progress and only works in very specific scenarios.

Building

This project uses CMake to generate supported native build files.

  • cmake .
  • cmake --build . --config Debug

Using

The main.cp shows a few examples, but basically something like this:

FunctionMocker mocker(testFunc, mockFunc);
testFunc(); // Will call mockFunc() instead

About

Bare C function mocking utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published