Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate mocks: fff-mock-gen #131

Open
amcolex opened this issue Nov 6, 2023 · 1 comment
Open

Automatically generate mocks: fff-mock-gen #131

amcolex opened this issue Nov 6, 2023 · 1 comment

Comments

@amcolex
Copy link

amcolex commented Nov 6, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants