Quartz 4

Home

❯

posts

❯

Tools

❯

GoogleTest

GoogleTest

Created: Dec 04, 2021 • Updated: Jan 16, 20261 min read

  • Tools
  • Testing
  • GoogleTest
  • Cpp

使用GoogleTest写测试用例

安装配置步骤

  1. 在镜像源下载googletest文件夹

    git clone https://gitcode.net/mirrors/google/googletest.git

  2. 将该文件夹放在所在的工程文件夹下

  3. 在CMakeLists.txt中加入相应的配置


Graph View

  • 使用GoogleTest写测试用例
  • 安装配置步骤

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community