Exenv v0.3.0 Exenv.Test View Source

Link to this section Summary

Functions

Asserts that a single env var exists

Asserts that a list of env vars exist

Refutes that a single env var exists

Refutes that a list of env vars exist

Resets a list of env vars to empty strings

Sets up Exenv for a test with the provided options

Link to this section Functions

Asserts that a single env var exists.

Examples

refute_var "KEY", "val"

Asserts that a list of env vars exist.

Examples

assert_vars [{"KEY", "val"}]

Refutes that a single env var exists.

Examples

refute_var "KEY", "val"
Link to this function

refute_vars(test_vars) View Source
refute_vars(any()) :: [any()]

Refutes that a list of env vars exist.

Examples

refute_vars [{"KEY", "val"}]
Link to this function

reset_env_vars(env_vars) View Source

Resets a list of env vars to empty strings.

Examples

reset_env_vars [{"KEY", "val"}]

Sets up Exenv for a test with the provided options.

Examples

setup_exenv(adapters: [{MyAdapter, opts}])