Skip to main content

py.test plugin to make session fixtures behave as if written in conftest, even if it is written in some modules

Project description

# 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/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest-session-fixture-globalize-0.0.0.3.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page