1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00
2010-12-21 23:07:30 +01:00
2010-12-21 23:07:30 +01:00
2010-12-21 23:07:30 +01:00

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   

Description
No description provided
Readme MIT 2.8 MiB
Languages
C 92.1%
Ruby 5.9%
C++ 1.1%
CMake 0.8%