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
Link to this function
assert_var(key, val) View Source
Asserts that a single env var exists.
Examples
refute_var "KEY", "val"
Link to this function
assert_vars(test_vars) View Source
Asserts that a list of env vars exist.
Examples
assert_vars [{"KEY", "val"}]
Link to this function
refute_var(key, val) View Source
Refutes that a single env var exists.
Examples
refute_var "KEY", "val"
Link to this function
refute_vars(test_vars) View Source
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"}]
Link to this function
setup_exenv(opts \\ []) View Source
Sets up Exenv for a test with the provided options.
Examples
setup_exenv(adapters: [{MyAdapter, opts}])