semvec/pypi-packages huggingface dataset:
pytest-forcefail 0.0.0.3
py.test plugin to make the test failing regardless of pytest.mark.xfail
License: BSD

# pytest-forcefail

pytest-forcefail is a plugin providing

- the method `pytest_forcefail.forcefail`
- the exception class `pytest_forcefail.ForceFailed`

These two will make the test failing **regardless of pytest.mark.xfail**.

See test\_forcefail.py for example.

Binary distribution: https://pypi.org/project/pytest-forcefail/
pytest-session-fixture-globalize 0.0.0.3
py.test plugin to make session fixtures behave as if written in conftest, even if it is written in some modules
License: BSD

# pytest-session-fixture-globalize

pytest-forcefail is a plugin to make scope='session' fixtures behave as if written in conftest.py.

See test\_session\_fixture\_globalize.py for example.

Unlike usual plugin, this touches the deep area of \_pytest.fixtures.FixtureManager. **You have to enable this plugin explicitly by --session-fixture-globalize option or PYTEST\_SESSION\_FIXTURE\_GLOBALIZE env.**

Binary distribution: https://pypi.org/project/pytest-session-fixture-globalize/