会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Aone.Net
曾经不好好学习,现在咋天天向上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
14
下一页
2021年8月25日
python基本运算
摘要: 随笔 - 22 文章 - 0 评论 - 0 阅读 - 32096 2、Python基础--除法、常用数学函数 整数与整数相除: >>> 2/5 0 >>> 2.0/5 0.4 >>> 2/5.0 0.4 >>> 2.0/5.0 0.4 >>> 7/2 3 >>> 7.0/2 3.5 >>> 注意:整
阅读全文
posted @ 2021-08-25 17:18 Catonce
阅读(35)
评论(0)
推荐(0)
2021年8月23日
LInux性能基本指令复习一
摘要: 查看cpu信息: cat /proc/cpuinfo 查看CPU的信息 linux服务器负载测试: { yes > /dev/null & } && sleep 60 && ps -ef|grep yes|awk'{print$2}'|xargs kill for i in $(seq 0 $(($
阅读全文
posted @ 2021-08-23 12:13 Catonce
阅读(48)
评论(0)
推荐(0)
2021年8月21日
shell$bash复习一
摘要: bash基本使用: vim test.sh →i→esc→:wq chmod +x ./test.sh # 使脚本具有权限 ./test.sh # 执行脚本 /bin/sh test.sh 执行脚本 LInux基本使用: ssh -p22 username@host 服务器链接,22默认端口,可不写
阅读全文
posted @ 2021-08-21 11:42 Catonce
阅读(52)
评论(0)
推荐(0)
2021年8月20日
Allure安装
摘要: 官网:http://allure.qatools.ru/ --安装 1、Windows 下载安装包,解压 2、配置到path(记得重启电脑) 3、pycharm安装allure-pytest max brew安装 brew install allure --执行 pytest xx.py --all
阅读全文
posted @ 2021-08-20 15:26 Catonce
阅读(42)
评论(0)
推荐(0)
2021年8月18日
本地push 到git hub 二
摘要: 将ssh-keys添加到git hub: 1、 git remote add origin https:/xx 2、 $ git push -u origin master 3、git clone git@xxx.git
阅读全文
posted @ 2021-08-18 19:41 Catonce
阅读(146)
评论(0)
推荐(0)
git 基本指令二
摘要: 1.创建代码仓库 Step 1:先配置下我们的身份吧,这样在提交代码的时候Git就可以知道是谁提交的,命令如下: git config --global user.name "coder-pig" git config --global user.email "779878443@qq.com" 配
阅读全文
posted @ 2021-08-18 19:02 Catonce
阅读(62)
评论(0)
推荐(0)
windows:GIT基本部署-1
摘要: 配置全局: 用户名:git config --global user.name ""xx"" 邮箱:git config --global user.email "yy" 验证:git config --global --list ssh key生成: ssh-keygen -t rsa -C "y
阅读全文
posted @ 2021-08-18 16:54 Catonce
阅读(43)
评论(0)
推荐(0)
yaml基础一
摘要: 有“ : ”→{ } 有无“ : ”→[ ] 2个-为 [], xx:yy为{} 案例:
阅读全文
posted @ 2021-08-18 15:33 Catonce
阅读(28)
评论(0)
推荐(0)
2021年8月17日
pytest笔记-基本使用实践1
摘要: import pytest def deb(x,y): return print("和:",x + y) def dec(x): return x + 1 @pytest.mark.xfail(reason="标记失败的用例") @pytest.mark.web def test_01(): ass
阅读全文
posted @ 2021-08-17 19:38 Catonce
阅读(45)
评论(0)
推荐(0)
2021年8月16日
Python unitest 入门了解
摘要: unittest基础入门-1 语句覆盖: 遍历每一行代码,主要缺点无法判断逻辑 判断覆盖: 整个语句的 T/F,主要确定多个条件组合无法判断 条件覆盖: 覆盖到每个子条件的(变量级级别)主要缺陷,测试用例指数级增多 路径覆盖: 类似导图,所有路径遍历 Unittest测试框架:: 命名: 测试类:驼
阅读全文
posted @ 2021-08-16 21:41 Catonce
阅读(101)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
14
下一页
公告