BSD Ports

devel/googletest 1.16.0 DragonFly

Framework for writing C++ tests on a variety of platforms

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel
Package size
344.9 KiB, 1608.8 KiB installed

Description

GoogleTest is based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, type-parameterized tests, various options for running the tests, and XML test report generation.

GoogleMock is inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in mind, Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes. Google Mock:

\* lets you create mock classes trivially using simple macros,
\* supports a rich set of matchers and actions,
\* handles unordered, partially ordered, or completely ordered expectations,
\* is extensible by users, and
\* works on Linux, Windows, and Mac OS X.

In the other systems

The newest version among them is 1.18.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/googletest1.16.0 behind since 2026-08-16none known-[email protected]-
FreeBSDdevel/googletest1.16.0 behind since 2026-08-16none known-[email protected]-
NetBSDdevel/googletest1.18.0 newestnone known-[email protected]2026-08-16
MidnightBSDdevel/googletest1.14.0_1 behind since 2026-08-16no data-[email protected]-
HardenedBSDdevel/googletest1.16.0 behind since 2026-08-16no data-[email protected]-
GhostBSDdevel/googletest1.16.0 behind since 2026-08-16no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install googletest

From DPorts:

cd /usr/dports/devel/googletest && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies