Exenv.Test (Exenv v0.4.1) 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"
Specs
Refutes that a list of env vars exist.
Examples
refute_vars [{"KEY", "val"}]
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}])