ut

C++20 μ(micro)/Unit Testing Framework (by boost-ext)

Ut Alternatives

Similar projects and alternatives to ut

  1. meson

    112 ut VS meson

    The Meson Build System

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Google Test

    71 ut VS Google Test

    GoogleTest - Google Testing and Mocking Framework

  4. Catch

    58 ut VS 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)

  5. json_test_data

    Test data for nlohmann/json

  6. llfio

    25 ut VS llfio

    P1031 low level file i/o and filesystem library for the C++ standard

  7. sml

    23 ut VS sml

    C++14 State Machine library

  8. benchmark

    21 ut VS benchmark

    A microbenchmark support library

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. doctest

    20 ut VS doctest

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

  11. nanobench

    13 ut VS nanobench

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

  12. orbit

    4 ut VS orbit

    Discontinued C/C++ Performance Profiler

  13. Boost.Test

    0 ut VS Boost.Test

    The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)

  14. GUnit

    1 ut VS GUnit

    GUnit - Google.Test/Google.Mock/Cucumber on steroids

  15. KmTest

    0 ut VS KmTest

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

  16. benchmark.js

    7 ut VS benchmark.js

    Discontinued A benchmarking library. As used on jsPerf.com.

  17. FakeIt

    2 ut VS FakeIt

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

  18. univalue

    5 ut VS univalue

    An easy-to-use and competitively fast JSON parsing library for C++17, forked from Bitcoin Cash Node's own UniValue library.

  19. test

    3 ut VS test

    A library for writing unit tests in Dart. (by dart-lang)

  20. test

    3 ut VS test

    Write unit and fuzz tests for Elm code. (by elm-explorations)

  21. tst

    4 ut VS tst

    C++ xUnit-like testing framework without macros

  22. te

    4 ut VS te

    C++17 Run-time Polymorphism (Type Erasure) library

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ut alternative or higher similarity.

ut discussion

Log in or Post with

ut reviews and mentions

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 2023-04-10.
  • [C++20][safety] static_assert is all you need (no leaks, no UB)
    3 projects | /r/cpp | 10 Apr 2023
    I don't think stepping through static_assert is a thing? Curious if it is, though. Since constexpr is either run-time or compile-time and static_assert is not a poor man's debugging facility could be to -Dstatic_assert(...) assert(__VA_ARGS__) and gdb the code. Alternatively, a more refined solution would be to use an UT framework (for example https://github.com/boost-ext/ut) which helps with that. IMHO, TDD can also limit the requirement of stepping into the code and with gurantees that the code is memory safe and UB safe there is less need for sanitizers and valgrind etc. depending on the coverage.
  • snatch -- A lightweight C++20 testing framework
    5 projects | /r/cpp | 18 Oct 2022
    It was not easy, I had to modify Boost UT to get it to run my tests. It doesn't support type-parametrized tests when the type parameter is non-copiable, which was the case for me. This is a symptom of a larger issue, which is that it relies on std::apply and std::tuple to generate the type-parametrized tests, which in turns requires instantiating the tuple and the contained objects (even though these instances aren't actually used; eh). That's a no go for me, since I need to carefully monitor when instance are created, and this was throwing off my test code. I had to effectively disable these checks to get it to run without failures. Then there was a similar issue with expect(), which doesn't work if part of the expression is non-copiable. I reported these issues to them.
  • [C++20] New way of meta-programming?
    5 projects | /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 | /r/cpp | 14 Apr 2022
    https://github.com/boost-ext/ut from Kris Jusiak is worth checking
  • How to unit test
    8 projects | /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 | /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#.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ut repo stats
10
1,302
8.5
5 days ago

boost-ext/ut is an open source project licensed under gtkbook License which is not an OSI approved license.

The primary programming language of ut is C++.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?