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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-session-fixture-globalize-0.0.0.1.tar.gz
.
File metadata
- Download URL: pytest-session-fixture-globalize-0.0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb5a594395a25da5c1881686a038feb75c3c42accf0244a0e1dab76b3cd3c1e |
|
MD5 | b39f43f0b1c0766ffcdde536976e03a5 |
|
BLAKE2b-256 | 6f9f7cdd8a95e82babcaaa5fdd3ab3ba5e89c49da6e038121d758bb879125e7c |