Google Test 安装
来源:互联网 发布:吉他软件效果器正版 编辑:程序博客网 时间:2024/06/03 15:49
Google C++单元测试框架 – gtest
什么是gtest
Google Test 是由 Google 公司发布的C++单元测试框架,是基于xUnit架构的测试框架,支持自动发现测试,丰富的断言集,用户定义的断言,death测试,致命与非致命的失败,类型参数化测试,各类运行测试的选项和XML的测试报告。详细了解,可以参阅《轻松编写 C++ 单元测试》该篇文章。
linux下如何安装
执行完下面代码以后,将在/usr/local/include
下生成一个gtest
文件夹,用于存放着相关的头文件,在/usr/local/lib
下生成libgtest.a
和libgtest_main.a
两个静态库文件,用于链接时使用。
Step 1: 获取源码包
git clone https://github.com/google/googletest.git
Step 2: 编译&安装
cd googletest/googletestcmake ./makemake install
到此为止,Google Test C++单元测试框架已安装完毕。
由于作者水平有限,欢迎指正。
阅读全文
0 0
- Google Test 安装
- google test 安装
- google test的安装与使用
- google test
- Google Test
- Google Test
- google test
- google test
- Google Test
- google test
- Google Test
- Google test在VS中的安装与配置
- Google Test and Google Mock
- google api test
- Google-video test
- google map test
- another google api test
- google test 入门介绍
- Spring框架概述
- CentOS 6.2最小化安装后再安装图形界面
- 贝叶斯分类器
- HDU 6205 card card card (2017沈阳网赛
- Mac下Java JNI 调C
- Google Test 安装
- spark structured streaming GroupState setTimeoutDuration触发机制
- 微擎框架函数
- Poj2262
- html5之获取当前时间进行提示
- ubuntu14.04更换阿里源
- HDDNetworking网络组件
- android中怎么禁止ViewPager的预加载
- sql 时间比较 查询语句