Coder Social home page Coder Social logo

yamibuy / unittestreport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from musen123/unittestreport

0.0 0.0 0.0 7.4 MB

python的Unittest框架扩展库、提供生成HTML测试报告、用例失败重运行、数据驱动、邮件发送测试结果等功能!

License: MIT License

Python 18.82% HTML 81.18%

unittestreport's Introduction

unittestreport介绍

说明

本项目是在unittestreport的基础上增加了截图功能。在生成的最终的报告中可以看到截图,并支持多图切换。原项目地址:https://github.com/musen123/UnitTestReport sceen shot button view sceen shot

上传到pypi:

python setup.py sdist bdist_wheel

twine upload dist/*

修改setup.py文件,将版本号修改为最新的版本号

1、什么是unittestreport

unittestreport是基于unittest开发的的一个功能扩展库,关于unittestreport最初在开发的时候,最初只是计划开发一个unittest生成html测试报告的模块,所以起名叫做unittestreport。在开发的过程中结合使用者的反馈,慢慢的扩展了更多的功能进去。后续还会持续的扩展和开发一些新的功能,目前实现了以下功能:

  • HTML测试报告生成
  • unittest数据驱动
  • 测试用例失败重运行
  • 多线程并发执行用例
  • 发送测试结果及报告到邮箱
  • 测试结果推送到钉钉
  • 测试结构推送到企业微信

2、安装unittestreport

unittestreport是基于python3.6开发的,安装前请确认你的python版本>3.6

  • 安装命令

    pip install unittestreport

  • 说明:原报告模板中的CDN站点失效了,已在1.4.2版中进行了更换,如果生成的报告样式和图表丢失,请升级unittestreport版本pip install unittestreport==1.4.2

3、使用文档

使用文档地址:https://unittestreport.readthedocs.io/en/latest/

使用问题及维护:

  • 开发者:木森
  • WeChat:musen9111
  • 大家在使用过程中发现bug,以及使用过程中有什么问题,可以联系我

unittestreport's People

Contributors

ethanliu-lzy avatar musen123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.