Skip to main content

unittestreport介绍

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: python771
  • 大家在使用过程中发现bug,以及使用过程中有什么问题,可以联系我

Metadata

Release files for unittestreport 1.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unittestreport 1.5.6
File Size Uploaded Provenance
unittestreport-1.5.6.tar.gz 51.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for unittestreport 1.5.6
File Interpreter ABI Platform
unittestreport-1.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 108.9 kB

Release files / unittestreport-1.5.6.tar.gz

Download URL unittestreport-1.5.6.tar.gz
Size 51.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e379fb879129258fdd0000566799ea106e44bd82e81c53ff11d87e91c06ced87
BLAKE2b-256 checksum
How to use checksums
0f57e4ebb5686c06aa454e0900e7741629bd23b19bc2a7c22636aea1f7c09c81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.4

Release files / unittestreport-1.5.6-py3-none-any.whl

Download URL unittestreport-1.5.6-py3-none-any.whl
Size 57.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7fffdfb0f14d760a8f09be9fc9c17b1e832a4595830d3628000050182db395c
BLAKE2b-256 checksum
How to use checksums
4ad5fe0aec194f8191edb366df2af1005c2d4947d872a8a0ee7f33dceb75088a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.4

Security for unittestreport 1.5.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page