descriptionnone
repository URLhttps://github.com/google/googletest.git
ownerstefan.naewe+rr@gmail.com
last changeTue, 28 May 2024 14:42:39 +0000 (28 07:42 -0700)
last refreshSat, 8 Jun 2024 15:29:03 +0000 (8 17:29 +0200)
content tags
add:
README.md

GoogleTest

Announcements

Live at Head

GoogleTest now follows the Abseil Live at Head philosophy. We recommend updating to the latest commit in the main branch as often as possible. We do publish occasional semantic versions, tagged with v${major}.${minor}.${patch} (e.g. v1.14.0).

Documentation Updates

Our documentation is now live on GitHub Pages at https://google.github.io/googletest/. We recommend browsing the documentation on GitHub Pages rather than directly in the repository.

Release 1.14.0

Release 1.14.0 is now available.

The 1.14.x branch requires at least C++14.

Continuous Integration

We use Google's internal systems for continuous integration.
GitHub Actions were added for the convenience of open-source contributors. They are exclusively maintained by the open-source community and not used by the GoogleTest team.

Coming Soon

Welcome to GoogleTest, Google's C++ test framework!

This repository is a merger of the formerly separate GoogleTest and GoogleMock projects. These were so closely related that it makes sense to maintain and release them together.

Getting Started

See the GoogleTest User's Guide for documentation. We recommend starting with the GoogleTest Primer.

More information about building GoogleTest can be found at googletest/README.md.

Features

Supported Platforms

GoogleTest follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions of compilers, platforms, and build tools.

Who Is Using GoogleTest?

In addition to many internal projects at Google, GoogleTest is also used by the following notable projects:

GTest Runner is a Qt5 based automated test-runner and Graphical User Interface with powerful features for Windows and Linux platforms.

GoogleTest UI is a test runner that runs your test binary, allows you to track its progress via a progress bar, and displays a list of test failures. Clicking on one shows failure text. GoogleTest UI is written in C#.

GTest TAP Listener is an event listener for GoogleTest that implements the TAP protocol for test result output. If your test runner understands TAP, you may find it useful.

gtest-parallel is a test runner that runs tests from your binary in parallel to provide significant speed-up.

GoogleTest Adapter is a VS Code extension allowing to view GoogleTest in a tree view and run/debug your tests.

C++ TestMate is a VS Code extension allowing to view GoogleTest in a tree view and run/debug your tests.

Cornichon is a small Gherkin DSL parser that generates stub code for GoogleTest.

Contributing Changes

Please read CONTRIBUTING.md for details on how to contribute to this project.

Happy testing!

shortlog
11 days ago Abseil TeamMention the optional third argument to TYPED_TEST_SUITEmain
2024-05-24 Derek MauroUpdate GoogleTest CI Docker image to use Clang 19,...
2024-05-21 Derek MauroChange GoogleTest flag removal to not read beyond the...
2024-05-20 Abseil TeamPrint mismatches for UnorderedElements() of different...
2024-05-13 Abseil TeamMake EXPECT_DEATH_IF_SUPPORTED work with matchers
2024-05-06 Copybara-ServiceMerge pull request #4527 from abhina-sree:abhina/add_zos
2024-05-06 Abseil TeamUse std::forward on GoogleTest matcher arguments
2024-05-03 Copybara-ServiceMerge pull request #3991 from pgroke-dt:default-enable...
2024-05-02 Abseil TeamAdd example using EXPECT statement in custom matcher
2024-05-02 Abhina Sreeskantharajanadd zos for death test support
2024-05-02 Paul GrokeMerge branch 'main' into default-enable-thread-support...
2024-04-25 Abseil TeamAdds "IWYU pragma: export" to gtest-param-util.h
2024-04-16 Derek MauroUse `[[maybe_unused]]` when it is available to avoid
2024-04-12 Krzysztof KosińskiModify example in the primer to match Testing FAQ.
2024-04-10 Abseil TeamFix https://github.com/google/googletest/issues/4423
2024-04-08 Copybara-ServiceMerge pull request #4508 from davidmatson:addJsonSkipped
...
tags
10 months ago v1.14.0-pre
10 months ago v1.14.0
16 months ago v1.13.0-pre
16 months ago v1.13.0
23 months ago release-1.12.1
23 months ago v1.12.0-pre
23 months ago v1.12.0
23 months ago release-1.12.0
2 years ago release-1.11.0
4 years ago v1.10.x
4 years ago release-1.10.0
5 years ago release-1.8.1
7 years ago release-1.8.0 Provides a release that reflects...
10 years ago release-1.7.0
13 years ago release-1.6.0
14 years ago release-1.5.0
...
heads
11 days ago main
10 months ago v1.14.x
16 months ago v1.13.x
23 months ago v1.12.x
4 years ago v1.10.x
5 years ago v1.8.x