pytest 之 allure报告
pytest 之 allure报告 安装allure allure 11 1、下载 allure.zip 1 allurezip 19 2、解压到本地目录后配置环境变量 2 30 与 pytest 集成 pytest 40 1、安装 allure pytest 插件 1 allurepytest ...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 之 fixture的定义及作用域
pytest 之 fixture的定义及作用域 pytest 中前置与后置的定义 pytest 12 pytest 中前置与后置的作用域 pytest 30 作用于函数 44 作用于类 116 在 unittest 中 的前置与后置,是有固定名称的,通常是和测试类一起 例如: setup 、 te...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 之 重运行机制与测试报告
pytest 之 重运行机制与测试报告 重运行机制 2 插件安装 8 使用方式 14 命令行参数形式 17 pycharm编辑器方式 pycharm 33 测试报告 41 JunitXML 格式 JunitXML 45 txt格式 txt 55 Html格式 Html 63 命令行形式 73 py...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 之 fixture参数化
pytest 之 fixture参数化 pytest替换unittest pytestunittest 6 修改前置后置 8 修改测试用例文件 40 pytest 之 fixture参数化 pytest fixture 84 参数化的使用 87 修改测试用例文件 107 前面通过 unittest...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 之 fixture的调用
pytest 之 fixture的调用 fixture的调用 fixture 2 将fixture函数名称,作为用例的参数 fixture 3 只返回前置中的一个参数 4 返回前置中的多个参数 98 fixture的共享机制 fixture 136 fixture的嵌入调用 fixture 192...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 筛选用例
pytest 筛选用例 指定目录查找用例 2 pytest mark pytest mark 61 运行过滤 172 指定目录查找用例 https://img blog.csdnimg.cn/2021021923012166.png 此时,项目目录是 class pytest ,里面有两个测试用例...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 与 unittest 的区别
pytest 与 unittest 的区别 1、表达用例: unittest 通过定义一个类,继承unittest.TestCase pytest 直接定义类 / 函数 2、断言的表达: unittest:self.assertxxx pytest:assert 表达式(结果为True 断言成功,...
2022-08-09 13:06【沉觞流年】
阅读更多pytest 基础认知
pytest 基础认知 pytest 简介 pytest 2 pytest 安装 pytest 17 pytest用例规则 pytest 37 pytest 测试用例编写规则 pytest 38 pytest收集测试用例的规则 pytest 45 pytest 运行的几种方式 pytest 62 ...
2022-08-09 13:06【沉觞流年】
阅读更多神经网络与深度学习(TensorFlow)
前提 https://img blog.csdnimg.cn/20210606122515846.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,text aHR0cHM6Ly9ibG9nLmNzZG4ubm...
2022-08-09 13:07【Richard678】
阅读更多微信实现扫码支付(native)
准备 在微信支付官网下载SDK(Software Development Kit): 1 1 目录 一、生成付款码 %E4%B8%80%E3%80%81%E7%94%9F%E6%88%90%E4%BB%98%E6%AC%BE%E7%A0%81 二、付款生成订单 %E4%BA%8C%E3%8...
2022-08-09 13:07【Richard678】
阅读更多企业公众号开通微信支付
第一步:需要已经认证过后的公账号 第二步:选择微信支付的支付申请 https://img blog.csdnimg.cn/20210313111504279.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,t...
2022-08-09 13:07【Richard678】
阅读更多易语言获取cookie
https://img blog.csdnimg.cn/20210124181321571.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,text aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L...
2022-08-09 13:07【Richard678】
阅读更多C#使用cersharp
第一步:将cersharp所有的文件拷贝到项目的bin下的debug下 第二步:打开vs在有点项目中的引用将dll文件全部引入进来 第三步:导入文件 using System; using System.Windows.Forms; using CefSharp; using CefSharp.Wi...
2022-08-09 13:07【Richard678】
阅读更多对百度的内容进行修改
在console控制台最后一行添加如下代码: document.body.contentEditable='true'
2022-08-09 13:07【Richard678】
阅读更多tensorflow图片编码处理基础
import tensorflow as tf import matplotlib.pyplot as plt import numpy as np class P: def init self : / 读取图片 self.imge = tf.gfile.FastGFile r'D: bridge....
2022-08-09 13:07【论一个测试的养成】
阅读更多opencv-matchTemplate 之使用场景为大图里面找小图
opencv的图片模板匹配方法 【1】matchTemplate 用法介绍 result = cv.matchTemplate image, templ, method , result , mask image:目标图 templ:模板图 method:原图与样章匹配效果的判别标准, 平方差匹配c...
2022-08-09 13:07【论一个测试的养成】
阅读更多学习opencv-基础应用
一,对图片的操作 【1】读取并显示图片 【1 1】读取图片有3中参数 flags: cv2.IMREAD COLOR:读取一副彩色图片,图片的透明度会被忽略,默认为该值,实际取值为1; cv2.IMREAD GRAYSCALE;以灰度模式读取一张图片,实际取值为0 cv2.IMREAD UNCHAN...
2022-08-09 13:07【论一个测试的养成】
阅读更多tkiner-canvas显示图片
方式1 tkiner自带的打开图片的方式,只能打开gif图片 import tkinter as tk window = tk.Tk window.title 'test' / 设置窗口名 window.geometry '200x200' / 设置窗口大小 canvas = tk.Canvas w...
2022-08-09 13:07【论一个测试的养成】
阅读更多pyhook3简单应用(1)--实现截图保存功能
1.安装 【1】首先安装swging : 【2】安装vc++相关: 38161040/article/details/88203864 【3】pip3 install pyHook3 2.应用 from PIL import ImageGrab import pythoncom import P...
2022-08-09 13:07【论一个测试的养成】
阅读更多tkiner组件之滚动文本框(scrolledtext )相关操作
1.创建一个滚动文本框 import tkinter as tk from tkinter import scrolledtext root = tk.Tk root.title 'text' root.geometry '100x100' scr = scrolledtext.ScrolledTe...
2022-08-09 13:07【论一个测试的养成】
阅读更多
边栏推荐
猜你喜欢
【机器学习】数据科学基础——机器学习基础实践(二) https://img blog.csdnimg.cn/8b354a7916f240d0bc7839822301ba90.gif pic center 活动地址: CSDN21天学习挑战赛 作者简介 :在校大学生一枚,华为云享专家,阿里云...
https://img blog.csdnimg.cn/f35d215121b740ed993e4ff003338aba.png pic center
原始sql delete from at phone where id not in select id from at phone where id =1 运行这段sql语句,结果报错 https://img blog.csdnimg.cn/20200916113747624.png?x oss ...
ETS UI development learning related site summary 1. Introduction to use of eTS language development guides/start with eTS, 0000001168323542 (2) video ...
Aecb 43d3 a80b 018a2cfe2a79.png WPF implements a MessageBox message prompt box with a maskNuget Install Package WPFDevelopers.Minimal 3.2.6 preview Me...
首先在控制面板下– 用户账户– 选择outlook 邮箱设置 outlook https://img blog.csdn.net/20170421100946998?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMjMxNDAxOTc=/font...
环形链表 判断链表中是否有环 1 如何判断链表中是否带环? 12 源代码: 36 如果有环,如何找到这个环的入口 67 结论: 73 推导过程 77 源代码: 86 判断链表中是否有环 废话不多说直接上题 题目链接: 141. 环形链表 list cycle/ 题目示例 https://img...
extern Fapi StatusType Fapi issueProgrammingCommand uint32 / pu32StartAddress, ...
About IO will involve several knowledge points such as blocking, non-blocking, multiplexing, synchronization, asynchronous, BIO, NIO, and AIO.Although...
前言 当您调用后端接口拿到轮播图数据后,会有 点击轮播图时,跳转到详情或链接的需求。 通过观察文档,只有如下图所示事件: https://img blog.csdnimg.cn/d38a57f2c0fb4d5599ee042da18bbdaa.png 很遗憾,这个 index 并不是我们要的整个行...