skip to navigation
skip to content

pytest-envfiles 0.1.0

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


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 =
File Type Py Version Uploaded on Size (md5, pgp) Source 2015-10-08 5KB