{"id":16199895,"url":"https://github.com/bialger/cpp_tests","last_synced_at":"2025-03-19T05:30:54.216Z","repository":{"id":217622826,"uuid":"744350136","full_name":"bialger/cpp_tests","owner":"bialger","description":"C++ Google Tests crossplatform project template with CI/CD. Has a shell installation script.","archived":false,"fork":false,"pushed_at":"2024-08-15T09:25:11.000Z","size":58,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T16:08:13.852Z","etag":null,"topics":["autotesting","ci-cd","ci-template","cpp-template","cross-platform","googletest","install-script","template-project"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bialger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-17T05:43:21.000Z","updated_at":"2025-02-16T19:30:06.000Z","dependencies_parsed_at":"2024-08-13T01:25:41.533Z","dependency_job_id":"ce3eb068-455e-4860-9fc0-aaf3f56f5974","html_url":"https://github.com/bialger/cpp_tests","commit_stats":null,"previous_names":["bialger/cpp_tests"],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2Fcpp_tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2Fcpp_tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2Fcpp_tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2Fcpp_tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bialger","download_url":"https://codeload.github.com/bialger/cpp_tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971211,"owners_count":20376784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autotesting","ci-cd","ci-template","cpp-template","cross-platform","googletest","install-script","template-project"],"created_at":"2024-10-10T09:28:37.916Z","updated_at":"2025-03-19T05:30:53.922Z","avatar_url":"https://github.com/bialger.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ project template with Google Tests and CI/CD\n\nThis is a project template. Feel free to use \u0026 fork it. It contains all pre-configured \nCMakeLists.txt, so to use it, replace project name with your one in \n[main CmakeLists.txt](CMakeLists.txt), and all target and executable names in \n[CI/CD script](./.github/workflows/ci_tests.yml). Sample program prints a greeting for the first argument.\n\n## How to build and run\n\nRun the following commands from the project directory.\n\n1. Create CMake cache\n\n```shell\ncmake -S . -B cmake-build\n```\n\n2. Build executable target\n\n```shell\ncmake --build cmake-build --target cpp_tests\n```\n\n3. Build tests target\n\n```shell\ncmake --build cmake-build --target cpp_tests_tests\n```\n\n4. Run executable target\n\n* On Windows:\n\n```shell\n.\\cmake-build\\cpp_tests.exe World\n```\n\n* On *nix:\n\n```shell\n./cmake-build/bin/cpp_tests World\n```\n\n5. Run tests\n\n* On Windows:\n\n```shell\n.\\cmake-build\\cpp_tests_tests.exe\n```\n\n* On *nix:\n\n```shell\n./cmake-build/tests/cpp_tests_tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbialger%2Fcpp_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbialger%2Fcpp_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbialger%2Fcpp_tests/lists"}