Skip to content

thombashi/gtest-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtest-project-template

C++ test project template using Google Test.

Included

  • Google Test
    • Google Test 1.8.0 (as a submodule)
    • Basic test case templates
    • Basic Google Test fixtures
  • CMake
    • CMakeLists.txt

Installation

git clone https://github.com/thombashi/gtest-project-template.git --recursive

CMake/Compiler wrapper tool (optional)

cmakew

pip install cmakew --upgrade

Usage

Environment

  • Fedora 24
  • gcc-c++ 6.3.1
  • Python 3.6.1

Build test cases

$ cd gtest-project-template
$ cp -ar test_template/ test/
Written test cases
$ cmakew test

Dependency

Mandatory

Releases

No releases published

Packages

No packages published