catch2-with-gmock

Exmaple of using Catch2 with GMock (by matepek)

Catch2-with-gmock Alternatives

Similar projects and alternatives to catch2-with-gmock

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better catch2-with-gmock alternative or higher similarity.

catch2-with-gmock reviews and mentions

Posts with mentions or reviews of catch2-with-gmock. 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
    I'm answering a question asked not from me. I've used both Google.Test and Catch2 and latter one feels much nicer. Sections from Catch2 just do not exist in other frameworks however they are super powerful. It has drawbacks like not having out of the box macros for setting up stuff once for all the runs of a test before a test is run with various parameters. See https://github.com/catchorg/Catch2/issues/1602 Integrating gmock should be easy as I've seen but not flawless. As I remember some extra work needs to be done so expectations are verified at end of sections? See https://github.com/matepek/catch2-with-gmock Google.Test doesn't support (or at least didn't when I last looked) some combination of type and value generators. Other than that, the slightly uglier syntax and lack of sections (which is pretty big) it's all good. Especially with gmock all integrated and delivered to you in one package.

Stats

Basic catch2-with-gmock repo stats
1
13
10.0
almost 4 years ago

matepek/catch2-with-gmock is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of catch2-with-gmock is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com