mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
b22903e498095bab90549a49a94bde8c1ef3e4a8
Fake Function Framework (fff) ----------------------------- fff is a micro-framework for creating fake C functions for tests. So whats the point? * To make it easy to create fake functions for testing C code. * To be simple * To work in both C and C++ tests What can it do? * It maintains a call count for each fake function * It captures the arguments sent in each function call * It captures a call history * It is simple - just include a header file and you are good to go. Under the hood: * The fff.h header file is generated by a ruby script * There are tests under src/test * There are examples for testing an embedded UI under src/examples Still Todo: * Function argument history * Proper mock - setting expectations, etc
Languages
C
92.1%
Ruby
5.9%
C++
1.1%
CMake
0.8%