Skip to main content

Pytest plugin to validate use of envvars on your tests

Project description

See Build Status on Travis CI

Pytest plugin to validate use of envvars on your tests

Note

Warning: pytest-envvars is beta.

What is pytest-envvars?

pytest-envvars change values of environment variables on your unit tests to check consistency of mocks. If the test has a wrong mock, this test will be broken.

pytest-envvars changes the values of the environment variables in your unit tests to check the consistency of the mocks. If the test has a wrong mock, this test will be broken due to changes in the original values of the environment variables.

Install

$ pip install pytest-envvars

Use

$ pytest --envvars-validate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-envvars-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

pytest_envvars-0.0.1-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page