{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"Provides configuration objects and decorators for pytest fixtures that allow you to define, manage, and conditionally skip tests based on required configuration variables.","skillfed_tags":["pytest-plugin","test-configuration"],"use_cases":["Skip integration tests when external service credentials (API keys, database URLs) are not set in the environment.","Conditionally run tests for optional features based on whether their configuration is available.","Manage fixture setup that depends on environment-specific settings without failing the entire test suite.","Define reusable configuration singletons across multiple test fixtures in a conftest.py.","Test code paths that require specific tools or services without breaking CI/CD when they're unavailable."],"what_it_does":"pytest-fixture-config is a pytest plugin that simplifies managing configuration for test fixtures. It lets you define configuration objects that read values from environment variables or other sources, then use decorators to conditionally skip tests when required configuration is missing. This is useful when your test suite includes optional tests for features you might not have installed or configured on every machine.\n\nThe package provides a Config base class you subclass to define your fixture configuration, plus decorators like requires_config and yield_requires_config that automatically skip tests when their required settings aren't available. It integrates directly into pytest as a plugin and requires only pytest as a runtime dependency.","worth_installing":"Yes, if you need to conditionally skip pytest fixtures based on missing configuration. The package is stable, permissively licensed, and has low install friction. The aging maintenance status (last release 666 days ago) is a minor concern but not a blocker\u2014the repository is still active and the package is marked Production/Stable. Install it if you're managing optional test fixtures or environment-dependent test setup."},"id":"pytest-fixture-config","links":{"html":"https://skillfed.io/packages/pytest-fixture-config","md":"https://skillfed.io/packages/pytest-fixture-config.md","pypi":"https://pypi.org/project/pytest-fixture-config/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-10-17","license_spdx":null,"license_treatment":"permissive","name":"pytest-fixture-config","python_support":"supports_current","summary":"Fixture configuration utils for py.test"},"popularity":{"monthly_downloads":351234,"position":7324,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.0"}
