- 博客(2)
- 资源 (1)
- 问答 (2)
- 收藏
- 关注
原创 centos 安装pcapy
centos 安装pcapy踩的坑直接pip install pcapy 报错,提示没有 pcap.h 文件,这是因为没有安装libpcap-dev的原因,所以需要提前安装,安装这里也是很多坑,后续安装流程里会提及1、环境介绍操作系统: Linux centospython版本:python2.7.32、安装流程1、sudo yum install libpcap-dev2、pi...
2018-10-14 10:11:59 691
原创 使用gtest + Gcov 对C++ project进行单元测试以及单测覆盖率统计
使用gtest + Gcov 对C++ project进行单元测试以及单测覆盖率统计一、背景单元测试对于开发人员来讲很普通但又经常被忽视,但是并不代表单元测试不重要相反很有必要,列举几条必要性的原因a降低程序的bug出现的可能性。大工程难免包含很多的类方法等,这之间难免有相互耦合的地方,修改其中的一个方法很可能造成其其他的方法出现bug。如果提前写了单元测试,就能很快定位出bug所在...
2018-10-07 15:08:46 5087
Anatomy of testing in production
2020-03-13
python strftime格式化 三位数的年份(例如 117年)如何写?
2019-11-18
ant design menu组件 theme主题
2017-10-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人