Pytest-retry-class
Pytest rerun/retry class if any test inside the class fails
pytest retry failure
https://pypi.org/project/pytest-retry-class/0.1/
how to install
pip install pytest-retry-class
how to run with pytest
pytest --maxretry 2 test.py
how to run examples
pytest example/pytest-xdist-support/tests
pytest example/pytest-dependency-support/tests
pytest example/rerun-class/tests