随笔分类 - Software Test
摘要:一、官网 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
阅读全文
摘要: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
阅读全文
摘要:1. 创建多分支流水线 2. sonar创建项目 3. sonar生成token 4. jenkins配置sonar服务器 5. 创建jenkinsfile 6. 测试 参考链接: https://www.freesion.com/article/51961427353/ https://blog.
阅读全文
摘要: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
阅读全文
摘要:1. 官网 https://doc.goldfingerholdings.com/synapsert/latest/zh_cn 2. 使用 3. 其他 zephyrxray 参考链接: https://www.cnblogs.com/huxinping8800/p/14435785.html?ivk
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要:1. 官网 https://www.jenkins.io/doc/ https://robotframework.org/ https://docs.qameta.io/allure/#_jenkins 2. 安装allure https://www.cnblogs.com/fireblackman
阅读全文
摘要:1. 问题现象 appledeMacBook-Pro:~ apple$ allure -version ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk Please set the JAVA_HOME v
阅读全文
摘要:1. 官网链接 https://pytest-dependency.readthedocs.io/en/stable/ 这篇文章讲的很细了, 想了解更多, 看官方文档 参考链接:http://t.zoukankan.com/se7enjean-p-13513131.html
阅读全文
摘要:1. 问题代码python self.browser.switch_to_window_handles(browser.window_handles[-1]) 2. 解决方法 self.browser.switch_to.window(browser.window_handles[-1])
阅读全文
摘要:1. 下载链接 # https://github.com/allure-framework/allure2/releases# allure文档:https://docs.qameta.io/allure/ 2. 安装 ubuntu sudo dpkg -i allure_2.17.2-1_all.
阅读全文
摘要:1. 安装第三方库 pip install websocket pip install websocket-client 2. 实战 import time from websocket import create_connection url = 'ws://192.168.1.100:8888/
阅读全文
摘要:1. 新建项目 2. 新建流水线项目 输入名称,选择流水线项目 3. 基础配置 4. 根据自己需求配置对应参数 4. 配置触发器 5. 配置触发器高级选项 6. 配置高级项目选项-流水线脚本 7. pipline脚本示例 pipeline { agent any stages { stage('Pr
阅读全文
摘要:测试点,功能性、性能、安全、兼容性、UI、易用性、接口测试、代码测试、异常测试等。 1、功能性测试功能测试首先要满足登陆的基本功能,无论那种测试进行的第一步测试肯定是功能测试主要测试项: 用户名、密码正确,点击登陆,登陆成功(不管测什么,首先第一条应该测试正常的流程,这也是优先级最高的用例) 用户名
阅读全文