gtest_sample VS Catch

Compare gtest_sample vs Catch and see what are their differences.

gtest_sample

A very simple project using GTest (by changh95)

Catch

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)
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
gtest_sample Catch
1 55
8 17,995
- 1.1%
0.0 9.2
over 2 years ago 6 days ago
CMake C++
- 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.

gtest_sample

Posts with mentions or reviews of gtest_sample. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-19.
  • Unit testing and mocking for c++
    6 projects | /r/cpp | 19 Oct 2021
    If you want to get started on GoogleTest fast, here’s a sample code that I made for a seminar. https://github.com/changh95/gtest_sample

Catch

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 2023-12-05.

What are some alternatives?

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

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

Google Test - GoogleTest - Google Testing and Mocking Framework

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

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

trompeloeil - Header only C++14 mocking framework

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

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

Google Mock

CppUnit - C++ port of JUnit

benchmark - A microbenchmark support library

Unity Test API - Simple Unit Testing for C