Skip to main content

No project description provided

Project description

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,以及使用过程中有什么问题,可以联系我

Changelog

Changelog

[0.1.45] - 2025-03-11

Fixed

  • 修复了并发写入history.json导致json文件格式错误问题

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unittestreport_yami-0.1.45.tar.gz (55.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unittestreport_yami-0.1.45-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file unittestreport_yami-0.1.45.tar.gz.

File metadata

  • Download URL: unittestreport_yami-0.1.45.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for unittestreport_yami-0.1.45.tar.gz
Algorithm Hash digest
SHA256 c7a386aaebdb376c40aa209f3c1e959f476de346f1fdd2370ada116f836caa17
MD5 bd92dd261621112b6cd223fd40c73fd7
BLAKE2b-256 64ea2f0fccd932d530e60cbcd0ffa3721bfd11c0d9b89991f2459c3a4e7f7f4c

See more details on using hashes here.

File details

Details for the file unittestreport_yami-0.1.45-py3-none-any.whl.

File metadata

File hashes

Hashes for unittestreport_yami-0.1.45-py3-none-any.whl
Algorithm Hash digest
SHA256 cc1927a27f2498e1c2abc81c95136d56d7c2f2d2edd82b69f8c4c62a9b70b92e
MD5 ab580fe46dde7e166a253c06955a64af
BLAKE2b-256 72e291e92cf1ce64438b2ce6df6a5e428bcc8fc026df0132b69e81e16cff1068

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page