A stressrunner similar as TextTestRunner for stress test, support for html report.
Project description
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.'
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stressrunner-1.1.13.tar.gz
.
File metadata
- Download URL: stressrunner-1.1.13.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109488b4bb80cdd233dbf6dd9f45973a3d6c7a708828e6f66b6d783bd269769e |
|
MD5 | 48cfcfa7993e20372e9349773f4e941c |
|
BLAKE2b-256 | 574362e879cf2ff100699ff89aa38616e09adc5389344caf96856e12a42e8be4 |
File details
Details for the file stressrunner-1.1.13-py2.py3-none-any.whl
.
File metadata
- Download URL: stressrunner-1.1.13-py2.py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3532a6c0ecc056c47b6461498e15d77167a4265647b8d858888dd9692b9273a3 |
|
MD5 | 455df87ff5772edbd73153a61b48bb9a |
|
BLAKE2b-256 | 918c676005a1490c3d47cc1d633787e2571b306dc5c9d9459c782df72c4f57b2 |