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
stressrunner-1.1.13.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for stressrunner-1.1.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3532a6c0ecc056c47b6461498e15d77167a4265647b8d858888dd9692b9273a3 |
|
MD5 | 455df87ff5772edbd73153a61b48bb9a |
|
BLAKE2b-256 | 918c676005a1490c3d47cc1d633787e2571b306dc5c9d9459c782df72c4f57b2 |