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

Which C++ unit test framework? #233

Closed
zebmason opened this issue May 12, 2020 · 3 comments
Closed

Which C++ unit test framework? #233

zebmason opened this issue May 12, 2020 · 3 comments

Comments

@zebmason
Copy link
Contributor

In PR #213 I've used GoogleTest as I am very familiar with it. I'm using it as a submodule so have disabled building the unit tests due to the CI VMs not doing a git submodule update although I suppose that could be my fault.
In #166 at least one other framework is mentioned.
Does MRC have any preference for a particular framework and can we get support into the master branch?

@Feynstein
Copy link

I know that they might prefer something more lightweight, that's why I suggested Catch, it's only one header.

@matt-gretton-dann
Copy link
Collaborator

I am happy with Google Test as you can integrate it into CMake's CTest framework quite easily.

@zebmason
Copy link
Contributor Author

#331 updates the CMake version for the containers (finally, what a mess around that was)
then #324 will use the newer version to pull GoogleTest down once a couple of lines are uncommented

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

4 participants