在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):snikulov/google-test-examples开源软件地址(OpenSource Url):https://github.com/snikulov/google-test-examples开源编程语言(OpenSource Language):CMake 65.7%开源软件介绍(OpenSource Introduction):Short sample how-to use Google C++ Test Framework in cmakeable projects
How to use:
CI status:Known issues:
How to use (alternativ with docker containers)Get repo$ git clone https://github.com/snikulov/google-test-examples.git
$ cd google-test-examples CMakeWe can use CMake to configure/build/running tests: Host side$ cmake -P build.cmake Docker Containers sidecmake -P build_with_docker.cmake MakefileTargets$ make [tab]
make all
all build/Makefile configure google-test-examples_test
build clean DOCKER_COMMAND run
build_directory clean_docker_image docker_image
build_docker_image CMAKE_COMMAND DOCKER_IMAGE Configure/Build/Running tests (with docker containers)$ make all
docker build -t atty/google-test-examples:latest --file docker/Dockerfile .
Sending build context to Docker daemon 221.2kB
Step 1/1 : FROM rikorose/gcc-cmake:latest
...
1/1 Test #1: test1 ............................ Passed 0.00 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.00 sec Screencast recording |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论