Skip to main content

stress-runner

A runner similar as TextTestRunner for stress test, support for html report. Based on unittest, support iterative exection, html report, send html report, etc.

Install

pip install stressrunner -U

Quick Start:

A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use this is to invoke its main method. E.g.

from stressrunner import runner
# define your tests

if __name__ == '__main__':
    runner.main()

For more customization options, instantiates a StressRunner object. StressRunner is a counterpart to unittest's TextTestRunner. E.g.

# output to a file
from stressrunner import StressRunner

runner = StressRunner(
    report_path='./report/test.html',
    test_title='My unit test',
    desc='This demonstrates the report output by StressRunner.'
)

Release files for stressrunner 1.1.13

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

Source distribution (sdist)

Source distribution for stressrunner 1.1.13
File Size Uploaded
stressrunner-1.1.13.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stressrunner 1.1.13
File Interpreter ABI Platform
stressrunner-1.1.13-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 36.4 kB

Release files / stressrunner-1.1.13.tar.gz

Download URL stressrunner-1.1.13.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
109488b4bb80cdd233dbf6dd9f45973a3d6c7a708828e6f66b6d783bd269769e
BLAKE2b-256 checksum
How to use checksums
574362e879cf2ff100699ff89aa38616e09adc5389344caf96856e12a42e8be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

Release files / stressrunner-1.1.13-py2.py3-none-any.whl

Download URL stressrunner-1.1.13-py2.py3-none-any.whl
Size 17.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3532a6c0ecc056c47b6461498e15d77167a4265647b8d858888dd9692b9273a3
BLAKE2b-256 checksum
How to use checksums
918c676005a1490c3d47cc1d633787e2571b306dc5c9d9459c782df72c4f57b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.1.13 This release

2 release files

1.1.6

2 release files

1.0.1

2 release files

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