pip安装 pip install pytest-html 编写脚本 import pytest class TestClass(object): def test_one(self): x = "this" assert 'h' in x def test_two(self): x = "hell ...
分类:
其他好文 时间:
2020-07-23 16:50:29
阅读次数:
121
1、新建SpringBoot项目,这里只选择一个Web依赖 2、修改pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</ar ...
分类:
编程语言 时间:
2020-07-23 16:43:47
阅读次数:
97
最近在学iOS开发,本系列会针对iOS从前到后的开发进行全面讲解,小到开发工具使用,大到应用市场上线。 需求: 1.显示一个橘黄色矩形 2.矩形上面一个按钮可以点击,并有响应事件 3.界面中心显示一张图片 系统版本: Mac OS 版本:10.15.5 Xcode版本:11.5 一、创建demo项目 ...
分类:
移动开发 时间:
2020-07-22 01:36:12
阅读次数:
144
配置文件路径: mac: ~/.docker/ 下有config.json daemon.json centos7:/etc/docker/下有key.json daemon.json(若无可以自己生成) { "authorization-plugins": [],//访问授权插件 "data-ro ...
分类:
Web程序 时间:
2020-07-21 22:29:01
阅读次数:
81
为了测试Avro Schema的兼容性,新建2个Java project,其中v1代表的是第一个版本, v2代表的是第二个版本。 测试步骤: Run producer-v1,去schema registry UI看schema版本 Run producer-v2,去schema registry U ...
分类:
编程语言 时间:
2020-07-21 21:58:41
阅读次数:
60
一、前言 性能测试时我们关注的重要指标是:并发用户数,TPS,请求成功率,响应时间,服务器的CPU,memory, I/O disk等。Jmeter的聚合报告可以查看并发数、吞吐量、请求成功率、响应时间等;如果要查看服务器端的CPU,memory, I/O disk等就需要安装插件ServerAge ...
分类:
其他好文 时间:
2020-07-21 14:21:41
阅读次数:
148
打开IDEA编辑器,点击编辑器左上角file,出现菜单栏,点击菜单栏中的Settings选项。 在出现的Settings窗口中的左侧菜单栏中找到Plugins选项,点击进入'Plugins'窗口。 在"Plugins"窗口中的,点击'Marktplace',进入Marktplace页面 在Markt ...
分类:
其他好文 时间:
2020-07-21 14:18:25
阅读次数:
218
在之前学习Redis的过程中,我就是一边通过文档/视频学习,一边阅读源码。我发现两种方法可以相辅相成,互相补充。阅读文档可以帮助我们快速了解某个功能,阅读源码有助于我们更深入的理解这一功能的实现及思想。 ...
分类:
其他好文 时间:
2020-07-21 09:33:18
阅读次数:
66
1、搭建环境 (1)SpringBoot2.2.1+MyBatisPlus+Sharding-JDBC+Druid连接池 (2)创建SpringBoot工程,版本2,2,1 (3)引入相关依赖 <dependencies> <dependency> <groupId>org.springframew ...
分类:
数据库 时间:
2020-07-19 17:49:08
阅读次数:
93
给Xcode命令行工具指定路径 sudo xcode-select --switch /Applications/Xcode.app 其他命令参考 $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ //查 ...
分类:
其他好文 时间:
2020-07-18 15:36:16
阅读次数:
87