Metadata-Version: 2.1
Name: pytest-yaml
Version: 1.2
Summary: This plugin is used to load yaml output to your test using pytest framework.
Home-page: https://github.com/Benabra/pytest_yaml
Author: Jihad BENABRA
Author-email: jihad_benabra@carrefour.com
License: Mozilla Public License 2.0 (MPL 2.0)
Keywords: py.test pytest yaml
Platform: UNKNOWN
Classifier: Framework :: Pytest
Requires-Dist: pyyaml
Requires-Dist: pytest

# pytest_yaml

This plugin is used to load yaml output to your test using pytest framework.

## How to install

```bash
pip install pytest_yaml
```

## How to use

#### Example code

```yaml
param: "value"
```

```python
def test_hello(yaml_content):
    assert yaml_content['param'] == 'value', 'your message'
```

#### Command line

```bash
pytest ./tests/sample/ --yaml-file ./yaml/sample.yml
```


