1. Home
  2. Browse
  3. fakeit

fakeit

v2.4.0#2Go to latest

FakeIt is a simple mocking framework for C++. It supports GCC, Clang and MS Visual C++.

Install

Run the following Vcpkg command to install the port.

vcpkg install fakeit

Usage

The package FakeIt provides CMake targets:

# Usage for specific framework tests (e.g. boost, catch, gtest, etc.)
find_package(FakeIt CONFIG REQUIRED)
target_link_libraries(main PRIVATE FakeIt::FakeIt-<framework>)
# Only specific test framework configuration files are provided upstream.
# It does not install its own source header files.
# So only the usage of the test framework is provided here.

Dependencies

See source

Version

v2.4.0#2

Publication

Supports

All

GitHub

eranpeer/FakeIt1.3K

Homepage

github.com/eranpeer/FakeIt

Subtree

3598d22664

License

MIT

Definition

Manifest