A GoogleTest-compatible C++ mocking library using monkey patching to mock free functions, static functions, and virtual/non-virtual class methods.
See the code
BonoboMock is a GoogleTest-compatible mock library for C++. Unlike traditional mocking frameworks that require virtual interfaces, BonoboMock can mock virtually any type of C++ function, including:
extern "C" functions)Review the project documentation for quickstart guides, cookbook recipes, and API references.
We welcome your contributions to help us improve and extend this project!
We welcome issue reports here; be sure to choose the proper template for your issue, so that we can be sure you're providing us with the necessary information to troubleshoot properly.
Before sending a Pull Request, please make sure you have read our Contribution Guidelines.
BonoboMock is Apache 2.0 licensed, as found in the LICENSE file.
This project has adopted a Code of Conduct. If you have any concerns about the Code, or behavior which you have experienced in the project, please contact us at opensource@bloomberg.net.
Project decisions are made according to the process defined in our Governance Policy. All changes require maintainer review and open community discussion.
See the current list of Project Maintainers for information on roles, responsibilities, and contact points.
If you believe you have identified a security vulnerability in this project, please send an email to the project team at opensource@bloomberg.net, detailing the suspected issue and any methods you've found to reproduce it.
Please do NOT open an issue in the GitHub repository, as we'd prefer to keep vulnerability reports private until we've had an opportunity to review and address them.
1 commits
1 commits
C++
94.2%
CMake
4.3%
A GoogleTest-compatible C++ mocking library using monkey patching to mock free functions, static functions, and virtual/non-virtual class methods.
See the code
BonoboMock is a GoogleTest-compatible mock library for C++. Unlike traditional mocking frameworks that require virtual interfaces, BonoboMock can mock virtually any type of C++ function, including:
extern "C" functions)Review the project documentation for quickstart guides, cookbook recipes, and API references.
We welcome your contributions to help us improve and extend this project!
We welcome issue reports here; be sure to choose the proper template for your issue, so that we can be sure you're providing us with the necessary information to troubleshoot properly.
Before sending a Pull Request, please make sure you have read our Contribution Guidelines.
BonoboMock is Apache 2.0 licensed, as found in the LICENSE file.
This project has adopted a Code of Conduct. If you have any concerns about the Code, or behavior which you have experienced in the project, please contact us at opensource@bloomberg.net.
Project decisions are made according to the process defined in our Governance Policy. All changes require maintainer review and open community discussion.
See the current list of Project Maintainers for information on roles, responsibilities, and contact points.
If you believe you have identified a security vulnerability in this project, please send an email to the project team at opensource@bloomberg.net, detailing the suspected issue and any methods you've found to reproduce it.
Please do NOT open an issue in the GitHub repository, as we'd prefer to keep vulnerability reports private until we've had an opportunity to review and address them.
1 commits
1 commits
C++
94.2%
CMake
4.3%