Advertisement

从零到一掌握自动化测试:pytest框架精讲及allure报告生成器(最详尽)(九)

阅读量:

目录:导读

【一

一、前言

Allure is a robust reporting framework. It is compatible with Java-based testing frameworks such as JUnit and TestNG. Additionally, it can also accommodate Python's pytest framework. Furthermore, it can be seamlessly integrated into Jenkins to display a polished report interface.

环境准备:

  1. python3.6
  2. windows环境
  3. pycharm
  4. pytest-allure-adaptor
  5. allure2.7.0
  6. java1.8

二、pytest-allure-adaptor下载

安装 pytest-allure-adaptor, GitHub地址为:<https://github.com/allure framework/allure-pytest>

复制代码
    pip3 install pytest-allure-adaptor

三、生成xml报告

全部评论 (0)

还没有任何评论哟~