Metadata-Version: 2.1
Name: pytest-manual-marker
Version: 1.0.0
Summary: pytest marker for marking manual tests
Home-page: https://github.com/RonnyPfannschmidt/pytest-manual-marker
Author-email: Ronny Pfannschmidt <rpfannsc@redhat.com>, Martin Kourim <mkourim@redhat.com>
License: MIT
Keywords: py.test,pytest,testing
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Testing
Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7
Description-Content-Type: text/markdown
Requires-Dist: pytest (>=6)
Requires-Dist: regendoc (>=0.9)


# pytest-manual-marker

Pytest marker for marking manual tests. Adds options for collecting manual, automated (default) or both.

Adds a different test outcome for manaual tests.

## Usage

```python
# content of test_manual.py
import pytest

@pytest.mark.manual
def test_manual():
    """this needs a opt in and will report manual as test status"""

def test_automated():
    """this is a empty test just for shows"""
```


### collect only manual tests

```console
$ pytest --collect-only -q --manual
test_manual.py::test_manual

1/2 tests collected (1 deselected) in 0.00s
```

### collect only automated tests

```console
$ pytest --collect-only -q
test_manual.py::test_automated

1/2 tests collected (1 deselected) in 0.00s
```

### collect manual and automated tests

```console
$ pytest --collect-only -q --include-manual  # collect both manual and automated tests
test_manual.py::test_manual
test_manual.py::test_automated

2 tests collected in 0.00s
```

## Install

Install this plugin::

```console
! pip install pytest-manual-marker
```


