Metadata-Version: 2.1
Name: pytest-statsd
Version: 1.1.5
Summary: pytest plugin for reporting to graphite
Home-page: https://github.com/jlane9/pytest-statsd
Author: jlane
Author-email: jlane@fanthreesixty.com
License: MIT
Project-URL: Home, https://github.com/jlane9/pytest-statsd
Project-URL: Tracker, https://github.com/jlane9/pytest-statsd/issues
Keywords: py.test pytest statsd graphite grafana report
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Python: >=2.7
Description-Content-Type: text/markdown
Requires-Dist: pytest (>=3.0.0)
Requires-Dist: statsd (>=3.2.1)
Provides-Extra: release
Requires-Dist: bumpversion (>=0.5.0) ; extra == 'release'
Requires-Dist: Sphinx (>=1.8.0) ; extra == 'release'
Requires-Dist: sphinx-autobuild (>=0.7.0) ; extra == 'release'
Requires-Dist: sphinx-rtd-theme (>=0.4.2) ; extra == 'release'
Requires-Dist: twine (>=1.12.0) ; extra == 'release'

pytest-statsd
=============

[![Build Status](https://travis-ci.org/jlane9/pytest-statsd.svg?branch=master)](https://travis-ci.org/jlane9/pytest-statsd)
[![PyPI version](https://badge.fury.io/py/pytest-statsd.svg)](https://badge.fury.io/py/pytest-statsd)
[![Python version](https://img.shields.io/pypi/pyversions/pytest-statsd.svg)](https://pypi.python.org/pypi/pytest-statsd)
[![License](https://img.shields.io/pypi/l/pytest-statsd.svg)](https://pypi.python.org/pypi/pytest-statsd)
[![Status](https://img.shields.io/pypi/status/pytest-statsd.svg)](https://pypi.python.org/pypi/pytest-statsd)
[![Requirements Status](https://requires.io/github/jlane9/pytest-statsd/requirements.svg?branch=master)](https://requires.io/github/jlane9/pytest-statsd/requirements/?branch=master)
[![Documentation Status](https://readthedocs.org/projects/pytest-statsd/badge/?version=latest)](http://pytest-statsd.readthedocs.io/en/latest/?badge=latest)
[![Maintainability](https://api.codeclimate.com/v1/badges/c43f457e5826cedcf08f/maintainability)](https://codeclimate.com/github/jlane9/pytest-statsd/maintainability)


Installation
------------

Install through pip:

```bash
pip install pytest-statsd
```


Install from source:

```bash

cd /path/to/source/pytest-statsd
python setup.py install
```

Example
-------

To simply run using default the configuration, use:

```bash
pytest --stats-d tests/
```


If there is a need to configure where to sent results to other than localhost:8125, use:

```bash
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:

```bash
pytest --stats-d --stats-prefix myproject test/
```

