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/

Project details


Download files

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

Source Distribution

pytest-session-fixture-globalize-0.0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file pytest-session-fixture-globalize-0.0.0.3.tar.gz.

File metadata

File hashes

Hashes for pytest-session-fixture-globalize-0.0.0.3.tar.gz
Algorithm Hash digest
SHA256 d1fdfceb5944d55076243987f0d882f714d1aea07682ebfff3a6af1d6b272b01
MD5 8bd16c434dd3ceff72ad787acaf7edc2
BLAKE2b-256 6204f3c123d32de013d57e69bda3b63412b465b7f44b4ea16b8bf9337b86b632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page