jlane9 / pytest-statsd

pytest plugin for reporting results to statsd (graphite)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytest-statsd

Build Status PyPI version Python version License Status Requirements Status Documentation Status Maintainability

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/

About

pytest plugin for reporting results to statsd (graphite)

License:MIT License


Languages

Language:Python 90.9%Language:Shell 9.1%