pytest plugin for reporting to graphite
Project description
pytest-statsd
Installation
Install through pip:
pip install pytest-statsd
Install from source:
cd /path/to/source/pytest-statsd
python setup.py install
Example
To simply run using default the configuration, use:
pytest --stats-d tests/
If there is a need to configure where to sent results to other than localhost:8125, use:
pytest --stats-d --stats-host http://myserver.com --stats-port 3000 tests/
You can also prefix your results if you plan on having multiple projects sending results to the same server:
pytest --stats-d --stats-prefix myproject test/
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
pytest-statsd-1.1.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for pytest_statsd-1.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7c336ac8cbf3aa1f4df3726209ff5ee5a708407caa7b239226029ed8d74bb3 |
|
MD5 | 044dfad9dacd81b5cd7c23b1152b0bcf |
|
BLAKE2b-256 | 31f12ff1361f52083b1ab82ae7fc05b73fbf2be48e75d0519701e2f55d6ee2ba |