descriptionnone
repository URLhttps://github.com/google/googletest.git
ownerstefan.naewe+rr@gmail.com
last changeThu, 25 Apr 2024 16:50:29 +0000 (25 09:50 -0700)
last refreshSat, 27 Apr 2024 12:04:06 +0000 (27 14:04 +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
43 hours ago Abseil TeamAdds "IWYU pragma: export" to gtest-param-util.hmain
10 days ago 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
2024-04-05 Abseil TeamNo external change
2024-04-04 Lawrence Wolf... [gtest] Use `std::index_sequence` and friends instead...
2024-04-03 Copybara-ServiceMerge pull request #4505 from to01z:add-winapi-partitio...
2024-04-03 Derek MauroFix a race condition between the Watcher thread and...
2024-04-03 David MatsonAdd skipped messages to JSON output (fixes #4507).
2024-04-03 Derek MauroDelete the unofficial GitHub actions tests.
2024-04-02 Copybara-ServiceMerge pull request #4503 from davidmatson:fixTypo
2024-04-02 Copybara-ServiceMerge pull request #4502 from davidmatson:fixStreamHelp...
2024-03-30 Abseil TeamAutomated Code Change
2024-03-29 Troels GramRevert changes to googletest-port-test.cc
2024-03-29 David MatsonFix typo in comment.
...
tags
8 months ago v1.14.0-pre
8 months ago v1.14.0
15 months ago v1.13.0-pre
15 months ago v1.13.0
22 months ago release-1.12.1
22 months ago v1.12.0-pre
22 months ago v1.12.0
22 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
43 hours ago main
8 months ago v1.14.x
15 months ago v1.13.x
22 months ago v1.12.x
4 years ago v1.10.x
5 years ago v1.8.x