Questions tagged [tox]

tox is a versatile software for managing virtual environments and executing tests.

What does the use_develop option in tox do when running in development mode?

While exploring the functionality of use_develop, I came across this information in the documentation: To install the current package in development mode with the develop option. When using pip, this utilizes the -e option, so it's best to avoid if you h ...

Utilizing pytest and tox for managing environment variables

Is there a way to efficiently test environment variables using pytest and tox? verify.py ENV_VARIABLE = os.environ['ENV_VARIABLE'] def check_env_variable(val): if val != ENV_VARIABLE: raise Exception test_verify.py class TestCheckEn ...

Difficulty in locating tests with coverage detection

The coverage tool doesn't seem to be capturing the test coverage for the tests located in the directory tests. The actual source files are stored in another directory named src. (For privacy reasons, file names have been altered.) Shown below is the conte ...