Setting up Google Tests Follow
Hi
I have been sitting online now for 3hours and I have not managed to find a detailed guide on how to setup Google tests in CLion.
Can anyone help me get started with this please?
Thanks
Please sign in to leave a comment.
Hi Yosef.
There is some useful information in our web help: https://www.jetbrains.com/clion/help/creating-google-test-run-debug-configuration-for-test.html.
Also we have a post with video in our blog: http://blog.jetbrains.com/clion/2015/10/new-clion-1-2-eap-build-brings-you-google-test/.
Hope it would help!
I've also run into issues trying to set up the Google Test libraries for use with CLion. There seems to be a lot of steps to import and run the Google Tests inside the CLion project prior to the creation of tests.
I'm looking into this now and will try to post if I have any success with getting things set up.
edit:
A top comment on http://blog.jetbrains.com/clion/2015/10/new-clion-1-2-eap-build-brings-you-google-test/ showed the following article. I've not used it yet but it read well. http://crascit.com/2015/07/25/cmake-gtest/