mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
- Implement "the output should contain" step Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
18 lines
644 B
Gherkin
18 lines
644 B
Gherkin
Feature: Functionality of jrnl outside of actually handling journals
|
|
|
|
Scenario: Displaying the version number
|
|
Given we use the config "simple.yaml"
|
|
When we run "jrnl --version"
|
|
Then we should get no error
|
|
Then the output should match "^jrnl version v\d+\.\d+(\.\d+)?(-(alpha|beta)\d*)?"
|
|
|
|
Scenario: Running the diagnostic command
|
|
Given we use the config "simple.yaml"
|
|
When we run "jrnl --diagnostic"
|
|
Then the output should contain "jrnl"
|
|
And the output should contain "Python"
|
|
And the output should contain "OS"
|
|
|
|
@todo
|
|
Scenario: Listing available journals
|
|
|