随笔分类 -  Software Test

摘要:1、官网 https://httpd.apache.org/download.cgi 2、命令帮助 C:\Users\Administrator>ab /? Usage: ab [options] [http://]hostname[:port]/path Options are: -n reque 阅读全文
posted @ 2022-06-28 17:39 代码诠释的世界 阅读(135) 评论(0) 推荐(0)
摘要:1、首先你要有一个无线网卡(我是台机) 2、点击网络图标,打开设置选项 3、点击移动热点,然后右键,转到设置 4、设置热点名称和密码 5、然后就可以使用手机或者其他设备,搜索连接了 阅读全文
posted @ 2022-04-27 14:09 代码诠释的世界 阅读(1183) 评论(0) 推荐(0)
摘要:1、使用lambda函数 # 匿名函数, 返回值为函数 func = lambda: "foo" print(func) 2、使用内部函数(局部函数) # 类似装饰器写法 def decorator(func): def _(*args, **kwargs): return func(*args, 阅读全文
posted @ 2022-04-25 20:58 代码诠释的世界 阅读(1630) 评论(0) 推荐(0)
摘要:1. 安装jenkins插件 JIRA Trigger Plugin 2. 全局配置,配置jira网址及账号信息 3. 配置jenkins的网络钩子到jira中 找到高级>网络钩子 配置网络钩子 配置信息如下, 换成自己的jenkins url http://192.168.10.99:8081/j 阅读全文
posted @ 2022-03-31 17:18 代码诠释的世界 阅读(1559) 评论(0) 推荐(0)
摘要:1. 问题现象 2. 权限问题处理方法 sudo chown -R jenkins:jenkins /var/lib/jenkins sudo chown -R jenkins:jenkins /var/cache/jenkins sudo chown -R jenkins:jenkins /var 阅读全文
posted @ 2022-03-31 15:32 代码诠释的世界 阅读(280) 评论(0) 推荐(0)
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma 阅读全文
posted @ 2022-03-31 11:01 代码诠释的世界 阅读(24546) 评论(5) 推荐(0)
摘要:1. 导出csv 2. 打开之后乱码 3、处理方法(win10) 使用记事本打开, 然后另存为,选择带有BOM的UTF8格式 保存之后重新打开即可 参考链接: https://www.cnblogs.com/fengyudeleishui/p/15662860.html 阅读全文
posted @ 2022-03-23 10:34 代码诠释的世界 阅读(281) 评论(0) 推荐(0)
摘要:1、官网 https://www.selenium.dev/selenium-ide/ Getting Started · Selenium IDE 2、插件安装 可以使用谷歌和火狐 3. 步骤 https://zhuanlan.zhihu.com/p/137206279 参考链接: https:/ 阅读全文
posted @ 2022-03-17 20:43 代码诠释的世界 阅读(318) 评论(0) 推荐(0)
摘要:1、下载地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ http://chromedriver.storage.googleapis.com/index.html 2、工程配置 3、使用 class BaseActio 阅读全文
posted @ 2022-03-15 10:49 代码诠释的世界 阅读(565) 评论(0) 推荐(0)
摘要:一. pytest内部机制 pytest自带失败重跑机制,在运行中传入参数即可。 --lf 参数:运行上次失败的用例,如果没有则全部运行。 --ff参数:运行全部用例,上次失败的优先运行。 --lf, --last-failed rerun only the tests that failed at 阅读全文
posted @ 2022-03-04 10:44 代码诠释的世界 阅读(897) 评论(0) 推荐(1)
摘要:一、官网 https://docs.pytest.org/en/7.0.x/search.html?q=skip 二、相关使用方法 1. @pytest.mark.skip() 2. @pytest.mark.skip(reason='跳过原因') 3. @pytest.mark.skipif(ex 阅读全文
posted @ 2022-03-04 10:35 代码诠释的世界 阅读(88) 评论(0) 推荐(0)
摘要:一、mac系统 1. 安装位置 cd ~/Library/'Application Support'/Google/Chrome/Default/Extensions 2. 打包对应id的目录即可 3. 通用查找方法 地址栏输入chrome://version 回车用资源管理器打开"个人资料路径"栏 阅读全文
posted @ 2022-03-04 09:51 代码诠释的世界 阅读(1842) 评论(0) 推荐(1)
摘要:一.、Junit 1、官网 https://junit.org/junit5/ https://junit.org/junit4/ 2、github https://github.com/junit-team/junit5/ 二、TestNG 1、官网 https://testng.org/doc/ 阅读全文
posted @ 2022-03-03 11:41 代码诠释的世界 阅读(101) 评论(0) 推荐(0)
摘要:1. 官网 https://playwright.dev/docs/intro 2. github https://github.com/microsoft/playwright-python 3. 安装 # 安装playwright库 pip install playwright # 安装浏览器驱 阅读全文
posted @ 2022-03-02 20:36 代码诠释的世界 阅读(2773) 评论(0) 推荐(0)
摘要:一. pep8 1. 官网 https://www.python.org/dev/peps/pep-0008/ https://pypi.python.org/pypi/flake8/ 2. 安装 pip install pep8 3. 使用 flake8 [file name or directo 阅读全文
posted @ 2022-03-02 17:50 代码诠释的世界 阅读(212) 评论(0) 推荐(0)
摘要:1. 第三方库 pip install jira 2. 官方文档 https://jira.readthedocs.io/examples.html 3. 使用方法 form jira import JIRA jira = JIRA('http://jira.***.com/', auth=(use 阅读全文
posted @ 2022-03-02 14:14 代码诠释的世界 阅读(502) 评论(0) 推荐(0)
摘要:一. 创建多分支流水线 二. sonar创建项目(非必须) 三. sonar生成token 四. jenkins配置sonar服务器 首先添加sonarqube的jenkins全局token凭据 打开凭据管理 添加用户密码和token类型凭据 安装sonarqube插件 打开系统配置 打开syste 阅读全文
posted @ 2022-02-28 20:59 代码诠释的世界 阅读(404) 评论(0) 推荐(0)
摘要:1. 使用字符串参数构建 2. 配置pipeline stage('Checkout') { steps { script{ branch = branch if (env.gitlabSourceBranch != null) { checkout changelog: true, poll: t 阅读全文
posted @ 2022-02-28 20:35 代码诠释的世界 阅读(812) 评论(0) 推荐(0)
摘要:1. 官网 https://www.testlink.org/ 2. 安装apache2 sudo apt-get install apache2 3. 安装mysql https://www.cnblogs.com/fireblackman/p/15692363.html 4. 安装PHP相关 s 阅读全文
posted @ 2022-02-28 14:11 代码诠释的世界 阅读(500) 评论(0) 推荐(0)
摘要:1. 官网 https://www.testlink.org/ 2. 使用 https://forum.testlink.org/ 参考链接: https://blog.csdn.net/weixin_30530339/article/details/98507987 阅读全文
posted @ 2022-02-28 12:25 代码诠释的世界 阅读(204) 评论(0) 推荐(0)