1. Home
  2. Browse
  3. gtest

gtest

v2019-01-04-1#0Go to latest

GoogleTest and GoogleMock testing frameworks.

Install

Run the following Vcpkg command to install the port.

vcpkg install gtest

Usage

The package gtest is compatible with built-in CMake targets:

enable_testing()
find_package(GTest MODULE REQUIRED)
target_link_libraries(main PRIVATE GTest::GTest GTest::Main)
add_test(AllTestsInMain main)
See source

Version

v2019-01-04-1#0

Publication

Supports

All

GitHub

google/googletest

Subtree

d236aa6f0a

License

Complex license

Definition

Control