• pytest 之 allure报告

      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 之 fixture的定义及作用域 pytest 中前置与后置的定义 pytest 12 pytest 中前置与后置的作用域 pytest 30 作用于函数 44 作用于类 116 在 unittest 中 的前置与后置,是有固定名称的,通常是和测试类一起 例如: setup 、 te...

      2022-08-09 13:06沉觞流年

      阅读更多
    • pytest 之 重运行机制与测试报告

      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 之 fixture参数化 pytest替换unittest pytestunittest 6 修改前置后置 8 修改测试用例文件 40 pytest 之 fixture参数化 pytest fixture 84 参数化的使用 87 修改测试用例文件 107 前面通过 unittest...

      2022-08-09 13:06沉觞流年

      阅读更多
    • pytest 之 fixture的调用

      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 筛选用例

      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 简介 pytest 2 pytest 安装 pytest 17 pytest用例规则 pytest 37 pytest 测试用例编写规则 pytest 38 pytest收集测试用例的规则 pytest 45 pytest 运行的几种方式 pytest 62 ...

      2022-08-09 13:06沉觞流年

      阅读更多
    • 神经网络与深度学习(TensorFlow)

      神经网络与深度学习(TensorFlow)

      前提 https://img blog.csdnimg.cn/20210606122515846.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,text aHR0cHM6Ly9ibG9nLmNzZG4ubm...

      2022-08-09 13:07Richard678

      阅读更多
    • 微信实现扫码支付(native)

      微信实现扫码支付(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:07Richard678

      阅读更多
    • 企业公众号开通微信支付

      企业公众号开通微信支付

      第一步:需要已经认证过后的公账号 第二步:选择微信支付的支付申请 https://img blog.csdnimg.cn/20210313111504279.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,t...

      2022-08-09 13:07Richard678

      阅读更多
    • 易语言获取cookie

      易语言获取cookie

      https://img blog.csdnimg.cn/20210124181321571.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,text aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L...

      2022-08-09 13:07Richard678

      阅读更多
    • C#使用cersharp

      第一步:将cersharp所有的文件拷贝到项目的bin下的debug下 第二步:打开vs在有点项目中的引用将dll文件全部引入进来 第三步:导入文件 using System; using System.Windows.Forms; using CefSharp; using CefSharp.Wi...

      2022-08-09 13:07Richard678

      阅读更多
    • 对百度的内容进行修改

      在console控制台最后一行添加如下代码: document.body.contentEditable='true'  

      2022-08-09 13:07Richard678

      阅读更多
    • 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显示图片

      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 )相关操作

      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论一个测试的养成

      阅读更多
  • 猜你喜欢