Skip to content

shensunbo/google_test_insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google_test_insight

  • gtest cases
  • gmock cases
  • code coverage report

build

mkdir build
cd build/
cmake ..
make

run unit test

../runTest.sh ../runTest.sh --color -VV

gcov

  • compile with code coverage
    • cmake .. -DGEN_REPORT=ON
  • install necessary tool
    • sudo apt-get install lcov
    • sudo apt-get install xdg-utils
  • run unit test and generate coverage report ../codeCovReport.sh report

About

google test(gtest) insight

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages