随笔分类 - 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
阅读全文
摘要:1、首先你要有一个无线网卡(我是台机) 2、点击网络图标,打开设置选项 3、点击移动热点,然后右键,转到设置 4、设置热点名称和密码 5、然后就可以使用手机或者其他设备,搜索连接了
阅读全文
摘要:1、使用lambda函数 # 匿名函数, 返回值为函数 func = lambda: "foo" print(func) 2、使用内部函数(局部函数) # 类似装饰器写法 def decorator(func): def _(*args, **kwargs): return func(*args,
阅读全文
摘要:1. 安装jenkins插件 JIRA Trigger Plugin 2. 全局配置,配置jira网址及账号信息 3. 配置jenkins的网络钩子到jira中 找到高级>网络钩子 配置网络钩子 配置信息如下, 换成自己的jenkins url http://192.168.10.99:8081/j
阅读全文
摘要:1. 问题现象 2. 权限问题处理方法 sudo chown -R jenkins:jenkins /var/lib/jenkins sudo chown -R jenkins:jenkins /var/cache/jenkins sudo chown -R jenkins:jenkins /var
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要:1. 导出csv 2. 打开之后乱码 3、处理方法(win10) 使用记事本打开, 然后另存为,选择带有BOM的UTF8格式 保存之后重新打开即可 参考链接: https://www.cnblogs.com/fengyudeleishui/p/15662860.html
阅读全文
摘要:1、官网 https://www.selenium.dev/selenium-ide/ Getting Started · Selenium IDE 2、插件安装 可以使用谷歌和火狐 3. 步骤 https://zhuanlan.zhihu.com/p/137206279 参考链接: https:/
阅读全文
摘要:1、下载地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ http://chromedriver.storage.googleapis.com/index.html 2、工程配置 3、使用 class BaseActio
阅读全文
摘要:一. pytest内部机制 pytest自带失败重跑机制,在运行中传入参数即可。 --lf 参数:运行上次失败的用例,如果没有则全部运行。 --ff参数:运行全部用例,上次失败的优先运行。 --lf, --last-failed rerun only the tests that failed at
阅读全文
摘要:一、官网 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
阅读全文
摘要:一、mac系统 1. 安装位置 cd ~/Library/'Application Support'/Google/Chrome/Default/Extensions 2. 打包对应id的目录即可 3. 通用查找方法 地址栏输入chrome://version 回车用资源管理器打开"个人资料路径"栏
阅读全文
摘要:一.、Junit 1、官网 https://junit.org/junit5/ https://junit.org/junit4/ 2、github https://github.com/junit-team/junit5/ 二、TestNG 1、官网 https://testng.org/doc/
阅读全文
摘要:1. 官网 https://playwright.dev/docs/intro 2. github https://github.com/microsoft/playwright-python 3. 安装 # 安装playwright库 pip install playwright # 安装浏览器驱
阅读全文
摘要:一. 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
阅读全文
摘要:1. 第三方库 pip install jira 2. 官方文档 https://jira.readthedocs.io/examples.html 3. 使用方法 form jira import JIRA jira = JIRA('http://jira.***.com/', auth=(use
阅读全文
摘要:一. 创建多分支流水线 二. sonar创建项目(非必须) 三. sonar生成token 四. jenkins配置sonar服务器 首先添加sonarqube的jenkins全局token凭据 打开凭据管理 添加用户密码和token类型凭据 安装sonarqube插件 打开系统配置 打开syste
阅读全文
摘要:1. 使用字符串参数构建 2. 配置pipeline stage('Checkout') { steps { script{ branch = branch if (env.gitlabSourceBranch != null) { checkout changelog: true, poll: t
阅读全文
摘要: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
阅读全文
摘要:1. 官网 https://www.testlink.org/ 2. 使用 https://forum.testlink.org/ 参考链接: https://blog.csdn.net/weixin_30530339/article/details/98507987
阅读全文

浙公网安备 33010602011771号