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

Move from unittest-cpp to catch for unit testing. #533

Merged
merged 3 commits into from
Jul 13, 2017

Conversation

neilmacintosh
Copy link
Collaborator

Many thanks to @rianquinn. This should fix #495, #494 and #529.

Rian Quinn and others added 3 commits April 29, 2017 07:10
This PR replaces UnitTest-cpp with Catch. Catch is downloaded
using cmake's ExternalProject_Add and installed into the
include directory as it's a header only library.

Signed-off-by: Rian Quinn <“[email protected]”>
@rianquinn
Copy link
Contributor

Awesome. Once this is merged I will start work on getting the clang-format stuff integrated into Travis CI as we discussed.

@rianquinn
Copy link
Contributor

rianquinn commented Jul 13, 2017

oh, and will also up-rev the version of catch to include the NO_SELFTEST work that we got upstreamed which should speed up Travis.

@neilmacintosh
Copy link
Collaborator Author

Actually...you can't just up-rev the version of catch at will I'm afraid. Each time we change the version that we snap to, I need to update legal documentation to keep everyone happy.

Are there likely to be other upgrades/changes to Catch worth waiting on so we can batch up that effort?

@rianquinn
Copy link
Contributor

I'm not sure, but we are in no hurry either. As far as I know, the answer is no as we are not really using that much of Catch.hpp. Most of the cygwin issues that I know of have been fixed in the version you have, and it works fine with VS, GCC and Clang.

@neilmacintosh
Copy link
Collaborator Author

Great. So this seems like the right version to start from. Let's sit with it for a little while (a month or so) and if nothing else worth waiting for appears to be on the horizon, we can bump the version.

@rianquinn
Copy link
Contributor

sounds great

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

Successfully merging this pull request may close these issues.

Update to Catch instead of UnitTest-cpp
3 participants