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

mockcpp: add mockcpp C/C++ test framework (git-master) #1697

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brendan-simon-indt
Copy link

Add the mockcpp C/C++ test framework.

mockcpp is a jmock-like generic C/C++ Mock Framework, which doesn't use complex template technique which will result in very heavy compiling overhead.

https://github.com/sinojelly/mockcpp

@bgilbert
Copy link
Contributor

In general, software in WrapDB must be an official release with a version number, not a Git branch. (Also, the project hasn't had any Git commits in almost two years; is it still maintained?)

@brendan-simon-indt
Copy link
Author

I'm not sure if it counts as a release, but there was tag on 26 June 2021. There have been various commits since, but nothing recently. I have asked the maintainer if they would create a release.

The wrap file worked for me, in the sense that MSYS2 UCRT environment was able to download and compile the mockcpp project, and I was able to compile a unit test (with Catch2 via wrap DB) that linked against mockcpp and produce an executable that ran as expected.

I trialed mockcpp with Catch2 for a work project. I was happy with the initial test results.
I only submitted the PR to help others easily use meson and mockcpp if they felt inclined.

Maybe wrap DB can have some kind of experimental or development versioning scheme to give access to some projects, knowing that these may not be guaranteed to work.

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

Successfully merging this pull request may close these issues.

2 participants