Advertisement

pytest+allure用于生成测试报告

阅读量:

前言

Allure Framework是一款具备高度灵活性的轻型多语言测试报告生成工具,不仅能够以简明扼要的网页报告形式清晰展示已完成的测试内容,同时还能使参与开发工作的每位成员从日常测试过程中获取最大化的有效信息。

一、安装

通过pip工具安装pytest与allure-pytest时,若配合使用--index-url参数指定镜像地址,可显著提升软件包的下载速度。

复制代码
 pip install pytest==4.5.0 --index-url https://pypi.douban.com/simple

    
 pip install allure-pytest==2.8.6 --index-url https://pypi.douban.com/simple
    
    
    
    

allure是一款可通过命令行进行操作的实用工具,用户需前往github平台获取其最新版本 Releases · allure-framework/allure2 · GitHub

![](https://cdl.itadn.co

全部评论 (0)

还没有任何评论哟~