meekrosoft / fff

A testing micro framework for creating function test doubles
Other
749 stars 163 forks source link

Automatically generate mocks: fff-mock-gen #131

Open amcolex opened 8 months ago

amcolex commented 8 months ago

Hi all,

A while back I wrote a python library which automatically generates all FFF mocks from the header files. We've been using it extensively at our work, and it's been incredibly useful.

You can find it here: https://github.com/Amcolex/fff-mock-gen

Hope it proves to be useful to others :)

Cheers

naaysayer commented 5 months ago

Missing this, and made my own version. But not that easy to use. I parse function calls from AST using llvm. check out if interested https://github.com/naaysayer/fff-auto