Metadata-Version: 2.1
Name: pytest-expectr
Version: 1.4.1
Summary: This plugin is used to expect multiple assert using pytest framework.
Home-page: https://github.com/Benabra/pytest_expectr
Author: Jihad BENABRA
Author-email: jihadbenabra@gmail.com
License: Mozilla Public License 2.0 (MPL 2.0)
Keywords: py.test pytest json variables
Platform: UNKNOWN
Classifier: Framework :: Pytest
Requires-Dist: pytest (>=2.4.2)

# pytest_expectr

pytest-expectr is a plugin for [pytest](https://docs.pytest.org/en/latest/) that provide expect to tests/fixtures for multiple assert use.

## Requirements

You will need the following prerequisites in order to use pytest-expectr:

- Python 2.7, 3.6, PyPy, or PyPy3
- pytest 2.6 or newer

## How to install

To install pytest-expectr:

```bash
pip install pytest-expectr
```

## How to use

```python
def test_hello(expect):
    expect(1==2, 'your error message 1')
    expect(1==3, 'your error message 2')
    ...
```


