[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1325":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},1325,"googletest","google\u002Fgoogletest","google","GoogleTest - Google Testing and Mocking Framework","https:\u002F\u002Fgoogle.github.io\u002Fgoogletest\u002F",null,"C++",38704,10788,1251,389,0,4,25,123,19,45,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",true,[],"2026-06-12 02:00:26","# GoogleTest\n\n### Announcements\n\n#### Documentation Updates\n\nOur documentation is now live on GitHub Pages at\nhttps:\u002F\u002Fgoogle.github.io\u002Fgoogletest\u002F. We recommend browsing the documentation on\nGitHub Pages rather than directly in the repository.\n\n#### Release 1.17.0\n\n[Release 1.17.0](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fgoogletest\u002Freleases\u002Ftag\u002Fv1.17.0) is\nnow available.\n\nThe 1.17.x branch\n[requires at least C++17](https:\u002F\u002Fopensource.google\u002Fdocumentation\u002Fpolicies\u002Fcplusplus-support#c_language_standard).\n\n#### Continuous Integration\n\nWe use Google's internal systems for continuous integration.\n\n#### Coming Soon\n\n*   We are planning to take a dependency on\n    [Abseil](https:\u002F\u002Fgithub.com\u002Fabseil\u002Fabseil-cpp).\n\n## Welcome to **GoogleTest**, Google's C++ test framework!\n\nThis repository is a merger of the formerly separate GoogleTest and GoogleMock\nprojects. These were so closely related that it makes sense to maintain and\nrelease them together.\n\n### Getting Started\n\nSee the [GoogleTest User's Guide](https:\u002F\u002Fgoogle.github.io\u002Fgoogletest\u002F) for\ndocumentation. We recommend starting with the\n[GoogleTest Primer](https:\u002F\u002Fgoogle.github.io\u002Fgoogletest\u002Fprimer.html).\n\nMore information about building GoogleTest can be found at\n[googletest\u002FREADME.md](googletest\u002FREADME.md).\n\n## Features\n\n*   xUnit test framework: \\\n    Googletest is based on the [xUnit](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FXUnit)\n    testing framework, a popular architecture for unit testing\n*   Test discovery: \\\n    Googletest automatically discovers and runs your tests, eliminating the need\n    to manually register your tests\n*   Rich set of assertions: \\\n    Googletest provides a variety of assertions, such as equality, inequality,\n    exceptions, and more, making it easy to test your code\n*   User-defined assertions: \\\n    You can define your own assertions with Googletest, making it simple to\n    write tests that are specific to your code\n*   Death tests: \\\n    Googletest supports death tests, which verify that your code exits in a\n    certain way, making it useful for testing error-handling code\n*   Fatal and non-fatal failures: \\\n    You can specify whether a test failure should be treated as fatal or\n    non-fatal with Googletest, allowing tests to continue running even if a\n    failure occurs\n*   Value-parameterized tests: \\\n    Googletest supports value-parameterized tests, which run multiple times with\n    different input values, making it useful for testing functions that take\n    different inputs\n*   Type-parameterized tests: \\\n    Googletest also supports type-parameterized tests, which run with different\n    data types, making it useful for testing functions that work with different\n    data types\n*   Various options for running tests: \\\n    Googletest provides many options for running tests including running\n    individual tests, running tests in a specific order and running tests in\n    parallel\n\n## Supported Platforms\n\nGoogleTest follows Google's\n[Foundational C++ Support Policy](https:\u002F\u002Fopensource.google\u002Fdocumentation\u002Fpolicies\u002Fcplusplus-support).\nSee\n[this table](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Foss-policies-info\u002Fblob\u002Fmain\u002Ffoundational-cxx-support-matrix.md)\nfor a list of currently supported versions of compilers, platforms, and build\ntools.\n\n## Who Is Using GoogleTest?\n\nIn addition to many internal projects at Google, GoogleTest is also used by the\nfollowing notable projects:\n\n*   The [Chromium projects](https:\u002F\u002Fwww.chromium.org\u002F) (behind the Chrome\n    browser and Chrome OS).\n*   The [LLVM](https:\u002F\u002Fllvm.org\u002F) compiler.\n*   [Protocol Buffers](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fprotobuf), Google's data\n    interchange format.\n*   The [OpenCV](https:\u002F\u002Fopencv.org\u002F) computer vision library.\n\n## Related Open Source Projects\n\n[GTest Runner](https:\u002F\u002Fgithub.com\u002Fnholthaus\u002Fgtest-runner) is a Qt5 based\nautomated test-runner and Graphical User Interface with powerful features for\nWindows and Linux platforms.\n\n[GoogleTest UI](https:\u002F\u002Fgithub.com\u002Fospector\u002Fgtest-gbar) is a test runner that\nruns your test binary, allows you to track its progress via a progress bar, and\ndisplays a list of test failures. Clicking on one shows failure text. GoogleTest\nUI is written in C#.\n\n[GTest TAP Listener](https:\u002F\u002Fgithub.com\u002Fkinow\u002Fgtest-tap-listener) is an event\nlistener for GoogleTest that implements the\n[TAP protocol](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FTest_Anything_Protocol) for test\nresult output. If your test runner understands TAP, you may find it useful.\n\n[gtest-parallel](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fgtest-parallel) is a test runner that\nruns tests from your binary in parallel to provide significant speed-up.\n\n[GoogleTest Adapter](https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=DavidSchuldenfrei.gtest-adapter)\nis a VS Code extension allowing to view GoogleTest in a tree view and run\u002Fdebug\nyour tests.\n\n[C++ TestMate](https:\u002F\u002Fgithub.com\u002Fmatepek\u002Fvscode-catch2-test-adapter) is a VS\nCode extension allowing to view GoogleTest in a tree view and run\u002Fdebug your\ntests.\n\n[Cornichon](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcornichon\u002F) is a small Gherkin DSL parser\nthat generates stub code for GoogleTest.\n\n## Contributing Changes\n\nPlease read\n[`CONTRIBUTING.md`](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fgoogletest\u002Fblob\u002Fmain\u002FCONTRIBUTING.md)\nfor details on how to contribute to this project.\n\nHappy testing!\n","GoogleTest 是 Google 开发的 C++ 测试和模拟框架。它基于 xUnit 架构，提供自动测试发现、丰富的断言库（包括自定义断言）、死亡测试等功能，支持值参数化和类型参数化测试，允许用户配置测试运行选项如并行执行等。适用于需要进行单元测试、集成测试以及错误处理代码验证的 C++ 项目开发场景。最新版本要求至少 C++17 标准支持，并计划引入 Abseil 依赖以增强功能。",2,"2026-06-11 02:43:04","top_all"]