Software Alternatives & Reviews
Table of contents
  1. Social Mentions
  2. Comments

Google Test

Google Test is a unit testing for C++ programming language that is based on xUnit architecture.

Google Test Reviews and details

Screenshots and images

  • Google Test Landing page
    Landing page //
    2023-10-03

Badges & Trophies

Promote Google Test. You can add any of these badges on your website.
SaaSHub badge
Show embed code
SaaSHub badge
Show embed code

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about Google Test and what they use it for.
  • Automatically run tests, formatters & linters with CI!
    Roy's project uses Google Test, a C++ testing framework. His testing setup is similar to mine as we both keep source files in one directory and tests in another. The key difference is that I can run the tests using the Visual Studios run button. It was fairly easy to write the new tests as there were existing ones that I could reference to check the syntax! - Source: dev.to / 6 months ago
  • C++ Unit Testing Using Google Test - My Experience
    One popular C++ Testing Framework is Google Test, and is what I ended up using. - Source: dev.to / 6 months ago
  • CI/CD pipelines for embedded
    Not sure about CppUnit but I can speak to my previous experience using the googletest framework which compiles your tests to an executable, and since it's a very simple framework we were able to cross-compile and run directly on our device. We just had to hook up a device to the server that was running the CI so it could flash it when needed. That basically meant that our process was:. Source: 12 months ago
  • How is programming done in large c++ projects?
    Some C++ unit testing frameworks include googletest, and microsoft's unit testing framework, which doesn't really have a name. Source: about 1 year ago
  • IDE for CPP(leetcode)
    However, you can use a unit test framework like GoogleTest or Catch2 whic creates a main() function for you which allows you to run single functions, as long as they have been created through some preprocessor macros. Then you can use a VS Code test adapter like this or this which may let you run a single test by right clicking it directly in VS Code. Source: over 1 year ago
  • New to C++
    Make sure you write unit tests, I use gtest but catch2 is also good. Source: over 1 year ago
  • Hacktobefest 2022: My Repo
    Git clone https://github.com/google/googletest.git # Dowload the Google Test repository Cd googletest # Main directory of the cloned repository. Mkdir -p build # Create a directory to hold the build output. Cd build # Move. - Source: dev.to / over 1 year ago
  • How to make my Boost unit testing work?
    Swap Boost Test for something better and more modern. The current industry standard is Catch2 and google test. There are much better documentation available on how to use those than the ancient and dying boost stuff. Source: almost 2 years ago
  • How to Efficiently Test iOS Apps with Appium on WeTest
    To ensure the quality of our iOS Apps during development and testing, we decide to use Jenkins jobs to test it on WeTest cloud devices for every update of our app. After investigating various tools, we use gtest + gmock as the unit test framework and Appium as the UI test framework for the SDK. - Source: dev.to / almost 2 years ago
  • Running unit tests on a C project (like an OS kernel) that redefines built-in functions.
    I'm keen to do some of the exercises outlined here; however, before I begin, I've been trying to set up C unit tests for any code that I eventually write. In the past, I've used GoogleTest and CMake in my own C projects, which is pretty straightforward to set up but I haven't been able to get this combo to work for the OS161 kernel so far. Source: about 2 years ago
  • MTL First Beta Release
    Git clone https://github.com/google/googletest.git # Dowload the Google Test repository Cd googletest # Main directory of the cloned repository. Mkdir -p build # Create a directory to hold the build output. Cd build # Move into the build directory. Cmake .. ... - Source: dev.to / about 2 years ago
  • From Julia to C++ Struggle
    Again, there is no standard testing suite so you would have to pick a third party library (that preferably integrates with your build system). Popular choices are the google test framework and catch2. Source: about 2 years ago
  • How to unit test
    If you just want a simple guide on how to run unit tests: 1. Get a unit test library (I like googletest https://github.com/google/googletest) 2. Use cmake to link against it (I expect you know how to use cmake, if you dont, hit me up and I can give you great resources on it, its really important when working with c++) 3. Use the basic googletest syntax for testing your c++ code, its pretty simple... Source: about 2 years ago
  • How do I properly unit-test a class or module?
    For unit test library, besides Catch2, another big one is Google Test. No matter which you pick, be sure to read their documentation, tutorials, examples etc. They are not hard to figure out and get started with. Source: over 2 years ago
  • Unit Test with google test
    Straight up, the Google test GitHub page is probably your best resource: https://github.com/google/googletest. Source: over 2 years ago
  • Adding Google Test - The Great Site Generator
    This week I focused on adding a tester to my project. I chose to use Google Test as I have read it is a very popular tester for C++. Google Test cam be used easily with CMake which was also being used in this project. I setup the tester by changing the CMakeLists.txt which can download the Google Test folder to the root directory by only using FetchContent_Declare. While writing the test cases, I learned that... - Source: dev.to / over 2 years ago
  • Unit testing and mocks in C++
    Catch2 and Google Test are pretty much the gold standards. Any unittest framework should integrate into your IDE (although I personally don't use CLion). Source: over 2 years ago
  • CXXGraph Library Release v0.1.5
    # Check out the library. $ git clone https://github.com/google/benchmark.git # Benchmark requires Google Test as a dependency. Add the source tree as a subdirectory. $ git clone https://github.com/google/googletest.git benchmark/googletest # Go to the library root directory $ cd benchmark # Make a build directory to place the build output. $ cmake -E make_directory "build" # Generate build system files with... - Source: dev.to / over 2 years ago
  • How do you (automatically) test your game?
    The first thing you can do is consider a unit testing framework, such as gtest. This is pretty simple automated testing, and it's even reasonably easy to implement your own rudimentary unit testing system. Integrating gtest or an alternative with your project should be quite straightforward by following the examples/documentation. This kind of testing validates functional behaviour and will alert you if any... Source: almost 3 years ago
  • What techniques do you have to develop before hardware is available?
    Everything else was covered: Ceedling+Unity+CMock for Unit Testing in C, CppuTest or GoogleTest or other options for C/C++. FFF is also useful when mocking. If you test and develop your modules correctly, they should when they are in your application. If you are developing using an Event-Driven Framework like QP or QML, then I would not test anything to do with the framework, but the functions that are called in... Source: almost 3 years ago
  • Back into C++ in 2021: First Week
    Unit tests are weird It seems also really weird that the unit test lib, how to add them, how to work with them is not too well documented for newbies. I tried GTest and Catch2, but so far I have spent most of the time configuring the tools rather than actually writing tests, which is annoying. - Source: dev.to / about 3 years ago

Do you know an article comparing Google Test to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Generic Google Test discussion

Log in or Post with
  1. User avatar
    Dream100-AI
    · 6 months ago
    · Reply

    Google the name is enough

This is an informative page about Google Test. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.