Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A py.test plugin that parses environment files before running tests

Project Description


pytest-envfiles is a py.test plugin that allows you to specify environment variable files that are to be parsed prior to executing tests. These files contain environment variables in a KEY=VALUE format.


Use pip:

pip install pytest-envfiles


In your pytest.ini file add a key, env_files and the environment variable files as a line separated list. The listed files will be parsed prior to test execution

env_files =

Release History

This version
History Node


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
(5.2 kB) Copy SHA256 Hash SHA256
Source None Oct 8, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers