Test-driven C++ with GoogleMock

This is a past event

9 people went

Details

We'll use Google's C++ mocking and unit testing framework, GoogleMock http://bit.ly/1pijIRu, to test drive the StringCalculator kata http://bit.ly/1euAyLc

In this session we won't use the mocking capabilities of GoogleMock. We'll just use some of the GoogleMock's interesting assertion macros and expressive matchers.

In a future session, we'll test-drive the second part of the StringCalculator kata (http://osherove.com/tdd-kata-2/) using the mocking capabilities of GoogleMock.

Useful documentation: GoogleMock Cheatsheet (https://code.google.com/p/googlemock/wiki/CheatSheet)

Bring the environment ready to work please.

For those using Visual Studio these two links will help you to get the environment ready:

Building GoogleMock to use it with Visual Studio 2013 Ultimate (http://garajeando.blogspot.com.es/2014/02/building-googlemock-to-use-it-with.html)

Required settings to use googlemock in a Visual Studio 2013 Ultimate project (http://garajeando.blogspot.com.es/2014/02/video-of-required-settings-to-use.html)