ut VS GUnit

Compare ut vs GUnit and see what are their differences.

GUnit

GUnit - Google.Test/Google.Mock/Cucumber on steroids (by cpp-testing)
Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • talent.io - Download talent.io’s Tech Salary Report
ut GUnit
7 1
917 203
2.5% 1.0%
7.0 4.3
1 day ago 20 days ago
C++ 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.

ut

Posts with mentions or reviews of ut. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-05.
  • [C++20] New way of meta-programming?
    5 projects | reddit.com/r/cpp | 5 Sep 2022
    https://github.com/boost-ext/ut (for better user interface when defining tests without macros)
  • Getting started with Boost in 2022
    5 projects | reddit.com/r/cpp | 14 Apr 2022
    https://github.com/boost-ext/ut from Kris Jusiak is worth checking
  • How to unit test
    8 projects | reddit.com/r/cpp_questions | 9 Feb 2022
  • Calculate Your Code Performance
    5 projects | dev.to | 23 Oct 2021
    C++: C++ has quite a number of benchmarking libraries some of the recent ones involving C++ 20's flexibility. The most notable being Google Bench and UT. C does not have many specific benchmarking libraries, but you can easily integrate C code with C++ benchmarking libraries in order to test the performance of your C code.
  • Benchmarking Code
    6 projects | dev.to | 19 Oct 2021
    UT
  • Another C++ unit testing framework without macros
    6 projects | reddit.com/r/cpp | 16 Apr 2021
    By Boost.UI you mean this?
    6 projects | reddit.com/r/cpp | 16 Apr 2021
    In Boost.UT there is a number of different styles to add a parametrized test case. All of them are pretty cryptic bue to heavy isage of oeverloaded operators of custom "non-public" classes. Except for the for-loop method, in all other methods the list of parameter values goes after the test procedure definition. I find this inconvenient, as I want to see list of parameter value next to the test name. This is what I used to from the times I was coding a lot of unit tests in C#.

GUnit

Posts with mentions or reviews of GUnit. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning GUnit yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing ut and GUnit you can also consider the following projects:

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.

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)

test - Write unit and fuzz tests for Elm code.

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

KmTest - Kernel-mode C++ unit testing framework in BDD-style

test - A library for writing unit tests in Dart.

benchmark - A microbenchmark support library

orbit - C/C++ Performance Profiler

nanobench - Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

cucumber - Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.