C++ Mock Object Workshop on January 13th

Zhon Johansen and I will be covering C++ mock object frameworks at the January, 2010 meeting of XP Utah. Zhon will cover googlemock, the Google C++ Mocking Framework, and I will cover mockpp, Mock Objects for C++. XP Utah meets from 7pm to 10pm on the second Wednesday of every month at the Borders bookstore in Murray, UT.

During this workshop, we will practice test-driven development in C++ using mock objects. We will be using Boost.Test as the underlying unit testing framework. The workshop will be organized as a programming kata, first with mockpp and then repeated with googlemock. By repeating the same exercise with the same unit test framework but two different mocking frameworks, participants will be able to compare and contrast the two mock frameworks for C++.

The workshop is free and open to all.

To participate, bring a laptop with a C++ programming environment. There is free wireless at the Borders bookstore. You will want to have downloaded and installed Boost.Test before the workshop. We will start promptly at 7pm in order to work through the kata with both mock object frameworks. If you are unfamiliar with writing unit tests in C++, consult my tutorial on unit testing with Boost.Test.

6 Responses to “C++ Mock Object Workshop on January 13th”

  1. progician Says:

    Hi, it would be great if you could post some brief overview of your workshop presentation because recently I’m on a project that should uses a mocking framework and frankly, there is no good tutorial on this topic.
    I came across of mockpp however it is not really clear how to integrate my boost.test based testing suits with gmock smoothly…

    Like

  2. legalize Says:

    I’m working up the blog post on the programming kata using mockpp. You can try the kata using Google mocks on the XP Utah wiki.

    Like

  3. progician Says:

    Cheers for the linking and I’m looking forward to your blog post on mockpp.

    Like

  4. progician Says:

    I could not find the kata on googlemock on this page, but maybe at some point.

    Like


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: