trompeloeil VS Catch

Compare trompeloeil vs Catch and see what are their differences.


Header only C++14 mocking framework (by rollbear)


A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch) (by catchorg)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
trompeloeil Catch
1 30
617 14,921
- 1.4%
7.1 9.6
about 1 month ago 10 days ago
C++ C++
Boost Software License 1.0 Boost Software License 1.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of trompeloeil. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-19.


Posts with mentions or reviews of Catch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-20.

What are some alternatives?

When comparing trompeloeil and Catch you can also consider the following projects:

Google Test - GoogleTest - Google Testing and Mocking Framework

doctest - The fastest feature-rich C++11/14/17/20 single-header testing framework

Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)

FakeIt - C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.

CppUnit - C++ port of JUnit

CppUTest - CppUTest unit testing and mocking framework for C/C++

Google Mock

benchmark - A microbenchmark support library

catch2-with-gmock - Exmaple of using Catch2 with GMock

Unity Test API - Simple Unit Testing for C

UnitTest++ - A lightweight unit testing framework for C++

fff - A testing micro framework for creating function test doubles