简体   繁体   English

如何在 Mac 上设置并开始使用谷歌测试框架?

[英]How to setup and start to use google test framework on Mac?

I have read many articles and tips explaining how to setup the Google Test (c++) framework for visual studio/eclipse/xcode but I couldn't find any article about how to set it up on Mac OS without using an IDE.我已经阅读了许多解释如何为visual studio/eclipse/xcode设置 Google Test (c++) 框架的文章和技巧,但我找不到任何关于如何在不使用 IDE 的情况下在 Mac OS 上设置它的文章。

How can I use Google Test on Mac OS's terminal without referring to any fancy IDE?如何在不参考任何花哨的 IDE 的情况下在 Mac OS 的终端上使用 Google Test?

Here is my answer for installing google test in Mac OS X这是我在 Mac OS X 中安装 google test 的答案

How to install GTest on Mac OS X with homebrew? 如何使用自制软件在 Mac OS X 上安装 GTest? . .

最简单的方法是使用自制软件或从源代码编译并安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM