---
title: "Unit Testing in C++ is harder than.."
url: "https://osherove.com/blog/2010/9/6/unit-testing-in-c-is-harder-than.md"
canonical: "https://osherove.com/blog/2010/9/6/unit-testing-in-c-is-harder-than.html"
published: "2010-09-06T07:45:46"
updated: "2010-09-06T07:45:46"
tags: ["Unit Testing"]
author: "Roy Osherove"
description: "Unit Testing in C++ – it’s even harder than Inidian Pole Gymnastics Video unavailable (the original video has been removed from YouTube). I mean seriously - CPPUnit is the devil. What kind of test framework do you use…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Unit Testing in C++ is harder than..

By Roy Osherove September 6, 2010 In [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published September 6, 2010; technical details may be outdated.

Unit Testing in C++ – it’s even harder than Inidian Pole Gymnastics

Video unavailable (the original video has been removed from YouTube).

I mean seriously - CPPUnit is the devil. What kind of test framework do you use in C++?

## More in Unit Testing

[All posts in Unit Testing](https://osherove.com/blog/category/unit-testing)

- Oct 14, 2010

    ### [Announcing Isolator++, and closing a TDD circle](https://osherove.com/blog/2010/10/14/announcing-isolator-and-closing-a-tdd-circle.html)

- Sep 29, 2010

    ### [A customer switches to MOQ – and I’m happy](https://osherove.com/blog/2010/9/29/a-customer-switches-to-moq-and-im-happy.html)

- Aug 14, 2010

    ### [Two different ways to create bad logic in unit tests](https://osherove.com/blog/2010/8/14/two-different-ways-to-create-bad-logic-in-unit-tests.html)

- Jul 23, 2010

    ### [Notes from a TDD masterclass](https://osherove.com/blog/2010/7/23/notes-from-a-tdd-masterclass.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
