contains a googletest template project that can build and run directly!
480
A docker with c++ and googletest framework:
docker pull learnwithexamples/googletest
docker run --name gtest -it learnwithexamples/googletest
cd gtest_template
cmake ..
make
./mytest
Running main() from /root/googletest/googletest/src/gtest_main.cc
[==========] Running 51 tests from 14 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from FactorialTest
...
[----------] Global test environment tear-down
[==========] 51 tests from 14 test suites ran. (4 ms total)
[ PASSED ] 50 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TESTSUITE1.testcase1
1 FAILED TEST
Content type
Image
Digest
Size
200.6 MB
Last updated
over 5 years ago
docker pull learnwithexamples/googletest