Skip to content

kuantingchen04/google-test-template

Repository files navigation

google-test-template

A Google Test Quickstart Template for setting up tests using CMake.

Tested on Ubuntu x64, MacOS, and Android v7a.

Check usage in test directory

.
├── thirdpary
├── src                     # Source files (alternatively `lib` or `app`)
├── test                    # Automated tests (alternatively `spec` or `tests`)
│   ├── benchmarks
│   ├── integration
│   └── unit
├── tools                   # Tools and utilities
├── LICENSE
└── README.md

To build googletest libraries yourselves

git clone https://github.com/google/googletest
cd googletest
mkdir build && cd build
cmake .. -DCMAKE_CXX_STANDARD=11
make
  • Googletest master requires C++11

Reference

About

Google Test Quickstart Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published