Closed dcastro closed 2 years ago
In #19, we're adding a --config option to allow the user to specify a different path for the config file.
--config
We should also allow the user to do this via an environment variable, e.g. COFFER_CONFIG.
COFFER_CONFIG
When this is done, we should be able to do this:
tests/golden/**-cmd/config.toml
tests/golden/default-config.toml
setup
tests/golden/helpers.bash
Notes:
This issue is blocked by #21 and #41
tests/golden
Clarification and motivation
In #19, we're adding a
--config
option to allow the user to specify a different path for the config file.We should also allow the user to do this via an environment variable, e.g.
COFFER_CONFIG
.When this is done, we should be able to do this:
tests/golden/**-cmd/config.toml
files with a singletests/golden/default-config.toml
COFFER_CONFIG
env var in thesetup
function intests/golden/helpers.bash
to make all tests usetests/golden/default-config.toml
by defaultNotes:
This issue is blocked by #21 and #41
Acceptance criteria
tests/golden
have been replaced by a single config file.