| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:43a4bc39-015c-0e80-1e82-f727db628969 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 92FC:293912:12D4C37:18B0701:6B0299E1 |
| html-safe-nonce | ec3e34a71593da96a7d3021ccf6db2788634208ccb70aa625c9ef16bb3984224 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkZDOjI5MzkxMjoxMkQ0QzM3OjE4QjA3MDE6NkIwMjk5RTEiLCJ2aXNpdG9yX2lkIjoiODY1MzAzMzczNTQzNTQ1MzEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e7eb2dbe81e1767e3ceb3f76356bf316b22a18870b520791c68e5d3a2f4ad622 |
| hovercard-subject-tag | repository:255543724 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/hexu1985/GoogleTest.Tutorial |
| twitter:image | https://opengraph.githubassets.com/1c9f73d2e5a402cdf6dba025ed09a5effde9e3be8c9545870b3ba6c32ccc8408/hexu1985/GoogleTest.Tutorial |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c9f73d2e5a402cdf6dba025ed09a5effde9e3be8c9545870b3ba6c32ccc8408/hexu1985/GoogleTest.Tutorial |
| og:image:alt | Contribute to hexu1985/GoogleTest.Tutorial development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/hexu1985/GoogleTest.Tutorial git https://github.com/hexu1985/GoogleTest.Tutorial.git |
| octolytics-dimension-user_id | 29792131 |
| octolytics-dimension-user_login | hexu1985 |
| octolytics-dimension-repository_id | 255543724 |
| octolytics-dimension-repository_nwo | hexu1985/GoogleTest.Tutorial |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 255543724 |
| octolytics-dimension-repository_network_root_nwo | hexu1985/GoogleTest.Tutorial |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/hexu1985/GoogleTest.Tutorial#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhexu1985%2FGoogleTest.Tutorial |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhexu1985%2FGoogleTest.Tutorial |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=hexu1985%2FGoogleTest.Tutorial |
| Reload | https://github.com/hexu1985/GoogleTest.Tutorial |
| Reload | https://github.com/hexu1985/GoogleTest.Tutorial |
| Reload | https://github.com/hexu1985/GoogleTest.Tutorial |
| hexu1985 | https://github.com/hexu1985 |
| GoogleTest.Tutorial | https://github.com/hexu1985/GoogleTest.Tutorial |
| Code | https://github.com/hexu1985/GoogleTest.Tutorial |
| Issues | https://github.com/hexu1985/GoogleTest.Tutorial/issues |
| Pull requests | https://github.com/hexu1985/GoogleTest.Tutorial/pulls |
| Actions | https://github.com/hexu1985/GoogleTest.Tutorial/actions |
| Projects | https://github.com/hexu1985/GoogleTest.Tutorial/projects |
| Security and quality | https://github.com/hexu1985/GoogleTest.Tutorial/security |
| Insights | https://github.com/hexu1985/GoogleTest.Tutorial/pulse |
| https://github.com/hexu1985/GoogleTest.Tutorial |
| GoogleTest.Tutorial | https://github.com/hexu1985/GoogleTest.Tutorial |
| Notifications | https://github.com/login?return_to=%2Fhexu1985%2FGoogleTest.Tutorial |
| Fork0 (0) | https://github.com/login?return_to=%2Fhexu1985%2FGoogleTest.Tutorial |
| Star7 (7) | https://github.com/login?return_to=%2Fhexu1985%2FGoogleTest.Tutorial |
| Readme | https://github.com/hexu1985/GoogleTest.Tutorial#readme-ov-file |
| MIT license | https://github.com/hexu1985/GoogleTest.Tutorial#MIT-1-ov-file |
| Activity | https://github.com/hexu1985/GoogleTest.Tutorial/activity |
| 0 forks | https://github.com/hexu1985/GoogleTest.Tutorial/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fhexu1985%2FGoogleTest.Tutorial&report=hexu1985+%28user%29 |
| Branches | https://github.com/hexu1985/GoogleTest.Tutorial/branches |
| Tags | https://github.com/hexu1985/GoogleTest.Tutorial/tags |
| https://github.com/hexu1985/GoogleTest.Tutorial/branches |
| https://github.com/hexu1985/GoogleTest.Tutorial/tags |
| 105 Commits | https://github.com/hexu1985/GoogleTest.Tutorial/commits/master/ |
| https://github.com/hexu1985/GoogleTest.Tutorial/commits/master/ |
| chapter-01 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-01 |
| chapter-01 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-01 |
| chapter-02 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-02 |
| chapter-02 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-02 |
| chapter-03 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-03 |
| chapter-03 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-03 |
| chapter-04 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-04 |
| chapter-04 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-04 |
| chapter-05 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-05 |
| chapter-05 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-05 |
| chapter-06 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-06 |
| chapter-06 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-06 |
| chapter-07 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-07 |
| chapter-07 | https://github.com/hexu1985/GoogleTest.Tutorial/tree/master/chapter-07 |
| .gitignore | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/.gitignore |
| .gitignore | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/.gitignore |
| LICENSE | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/LICENSE |
| LICENSE | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/LICENSE |
| README.md | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/README.md |
| README.md | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/README.md |
| README | https://github.com/hexu1985/GoogleTest.Tutorial |
| MIT license | https://github.com/hexu1985/GoogleTest.Tutorial |
| https://github.com/hexu1985/GoogleTest.Tutorial#googletest-tutorial |
| https://github.com/hexu1985/GoogleTest.Tutorial#table-of-contents |
| Chapter1: 环境配置 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter1-环境配置 |
| 1. googletest编译安装 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/recipe-01/README.md |
| 2. 编译项目:手动指定链接gtest库 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/recipe-02/README.md |
| 3. 编译项目:通过CMake的find_package | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/recipe-03/README.md |
| 4. 编译项目:手动指定链接gtest库(使用gtest提供的main函数) | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/recipe-04/README.md |
| 5. 编译项目:通过CMake的find_package(使用gtest提供的main函数) | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-01/recipe-05/README.md |
| Chapter2: 使用断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter2-使用断言 |
| 1. gtest断言简介 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-01/README.md |
| 2. 布尔值和数值型断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-02/README.md |
| 3. 字符串断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-03/README.md |
| 4. 显式的(explicit)成功或失败 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-04/README.md |
| 5. 异常断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-05/README.md |
| 6. 谓词断言Predicate Assertions | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-06/README.md |
| 7. 浮点型断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-07/README.md |
| 8. 类型断言 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-02/recipe-08/README.md |
| Chapter3: 事件机制 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-03/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter3-事件机制 |
| 1. gtest事件机制简介 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-03/recipe-01/README.md |
| 2. 全局事件 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-03/recipe-02/README.md |
| 3. TestSuite事件 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-03/recipe-03/README.md |
| 4. TestCase事件 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-03/recipe-04/README.md |
| Chapter 4: 参数化 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-04/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter-4-参数化 |
| 1. gtest参数化简介 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-04/recipe-01/README.md |
| 2. 参数化测试 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-04/recipe-02/README.md |
| 3. 类型参数化 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-04/recipe-03/README.md |
| Chapter 5: 死亡测试 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter-5-死亡测试 |
| 1. gtest死亡测试简介 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/recipe-01/README.md |
| 2. *_DEATH(statement, regex) | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/recipe-02/README.md |
| 3. *_EXIT(statement, predicate, regex) | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/recipe-03/README.md |
| 4. *_DEBUG_DEATH(statement, predicate, regex) | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/recipe-04/README.md |
| 5. 死亡测试运行方式 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-05/recipe-05/README.md |
| Chapter 6: 运行参数 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-06/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter-6-运行参数 |
| 1. gtest运行参数简介 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-06/recipe-01/README.md |
| 2. 运行参数列表 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-06/recipe-02/README.md |
| Chapter 7: 测试覆盖率统计 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-07/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#chapter-7-测试覆盖率统计 |
| 1. 基于lcov统计测试覆盖率 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-07/recipe-01/README.md |
| 2. 基于kcov统计测试覆盖率 | https://github.com/hexu1985/GoogleTest.Tutorial/blob/master/chapter-07/recipe-02/README.md |
| https://github.com/hexu1985/GoogleTest.Tutorial#参考文档 |
| https://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html | https://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html |
| https://blog.csdn.net/beichen2012/article/details/52190239 | https://blog.csdn.net/beichen2012/article/details/52190239 |
| https://github.com/hexu1985/GoogleTest.Tutorial#进阶文档推荐 |
| https://www.cnblogs.com/coderzh/archive/2010/01/09/beautiful-testcase.html | https://www.cnblogs.com/coderzh/archive/2010/01/09/beautiful-testcase.html |
| https://www.cnblogs.com/jycboy/p/gtest_handlingEvent.html | https://www.cnblogs.com/jycboy/p/gtest_handlingEvent.html |
| Readme | https://github.com/hexu1985/GoogleTest.Tutorial#readme-ov-file |
| MIT license | https://github.com/hexu1985/GoogleTest.Tutorial#MIT-1-ov-file |
| Activity | https://github.com/hexu1985/GoogleTest.Tutorial/activity |
| 0 forks | https://github.com/hexu1985/GoogleTest.Tutorial/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fhexu1985%2FGoogleTest.Tutorial&report=hexu1985+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |