You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest-envx is a powerful and user-friendly plugin for pytest, allowing you to easily manage environment variables from configuration files like pyproject.toml and pytest.ini.
🚀 Features
✔️ Environment variable interpolation via templates
✔️ Load variables from .env files
✔️ Compatible with both pyproject.toml and pytest.ini
✔️ Easy to configure and use
✔️ Flexible support for overriding and loading order
⚡️ Installation
pip install pytest-envx
📦 Quick Start
Create a configuration file — either pyproject.toml ⚙️ or pytest.ini ⚙️
By default, pytest prioritizes pytest.ini ⚙️