C++ Testing like a Ninja for Novice Testers 2024

C++ Testing like a Ninja for Novice Testers is a two-day onsite training course with programming examples, taught by Jorge D. Ortiz-Fuentes and Rishabh Bisht. It is offered at the Gaylord Rockies from 09:00 to 17:00 Aurora time (MDT) on Saturday and Sunday, September 21st and 22nd, 2024 (immediately following the conference). Lunch is included.

Course Description

It’s highly probable that you’ve heard about the importance of unit testing your code. You may already know the theory and you would want to give it a try. But it is hard to walk this path alone, since the first tests are also the hardest.

This hands-on workshop takes a different approach. Learn the concepts and use the de facto standard tools and frameworks (CMake and GoogleTest) to write actual tests of realistic applications.

Reach the top of the Unit Test Mountain!


  • What are Unit Tests and how to write them
  • How to simplify the tests and have Clean tests too
  • When and how to use Test Doubles
  • What is TDD and how to practice it
  • How to unit test everything in your app, from the code that uses persistence to the one that connects to the network
  • Make the quality of your code something better than a matter of faith!


This course is intended for C++ developers who would like to improve the way they build their products. Attendees should have basic knowledge of C++ and should be familiar with CMake, know object-oriented programming, the SOLID principles and what a design pattern is.

Course Topics

  • Add tests to your code with CMake and GoogleTest
  • Brief test review
    • Test return
    • Test state
    • Test interaction
  • Simplify test code
    • SetUp and TearDown
    • Ignore tests
    • Test exceptions
    • Special tests
  • Test Doubles
    • Dummy
    • Stub
    • Spy
    • Mock
    • Fake
  • Use the mocking library: gMock
  • Testing scenarios
    • Testing with persistence
    • Testing with network

Register Here

Course Instructors

Jorge D. Ortiz-Fuentes

Jorge D. Ortiz-Fuentes is a developer advocate working at MongoDB. He focuses on mobile development, security, and systems architecture.

As a developer, Jorge started working for the M.I.T. in 1993 and he has collaborated on many software projects since. Most of them were internally for HP, where he worked for more than 15 years. Since 2008 he has been working in different aspects of mobile development.

Jorge was an instructor for some of the best Bootcamps in the U.S.A. and Europe. He occasionally delivers mobile and microservices courses, training individual developers and the teams of some of the biggest companies worldwide.

Rishabh Bisht

Rishabh Bisht is a Product Manager at MongoDB where he handles the developer experience for C, C++, and PHP communities. Overseeing the development of drivers, integrations and client libraries, he is passionate about crafting developer-focused strategies to drive success.

Prior to MongoDB, Rishabh spent over 6 years at Autodesk, where he built cloud-connected CAD software in C++, used by millions of users worldwide.

Rishabh is also enthusiastic about volunteer work and has a favorite experience of teaching 3D design at an all-girls school in Rwanda, Africa. In his free time, you can find him traveling or playing driving simulators.