Unit testing using Google tests

  c++, cmake, geany, unit-testing

I want to Unit test my code using Google test framework. I have my C code written in Geany and have no idea as to how to unit test the functions in Google tests. Most of the examples I refered to make use of a cmake file (I am not familiar with making use of the cmake file). Could anyone please tell me the steps and how do I begin with?

Source: Windows Questions C++

LEAVE A COMMENT