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.
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
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