mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 12:08:31 +02:00
feature test added
This commit is contained in:
parent
240e85d7d5
commit
58457d7a33
1 changed files with 17 additions and 0 deletions
17
features/config_file.feature
Normal file
17
features/config_file.feature
Normal file
|
@ -0,0 +1,17 @@
|
|||
Feature: Implementing usage of alternate configuration file
|
||||
|
||||
Scenario: Use personal config stored in user's home folder
|
||||
Given we use config file path "work-config.yaml" by running
|
||||
`jrnl --config-file ~/work-config.yaml`, which contains valid
|
||||
configuration options for `jrnl`, the program should use
|
||||
configuration within the given configuration file specified.
|
||||
|
||||
Scenario: Use not existing configuration file
|
||||
Given we use the config path "some-config.yaml" which does not point
|
||||
to an existing file program should exit with an error explaining the
|
||||
situation. The output should be
|
||||
|
||||
"""
|
||||
Alternate configuration file not found at path specified.
|
||||
Exiting.
|
||||
"""
|
Loading…
Add table
Reference in a new issue