mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 00:16:13 +02:00
update version tests, add new regex match behave step
This commit is contained in:
parent
a6b646bb44
commit
899dd5037b
2 changed files with 35 additions and 7 deletions
|
@ -1,15 +1,21 @@
|
|||
Feature: Core functionality of jrnl outside of actually handling journals
|
||||
Feature: Functionality of jrnl outside of actually handling journals
|
||||
|
||||
Scenario: Displaying the version number
|
||||
Given we use the config "basic.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))?$"
|
||||
|
||||
Scenario: Displaying the version number
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl -v"
|
||||
Then we should get no error
|
||||
Then the output should contain "version"
|
||||
Then the output should match "^jrnl version v\d+\.\d+\.\d+(-(alpha|beta))?$"
|
||||
|
||||
Scenario: --diagnostic runs without exceptions
|
||||
Scenario: Running the diagnostic command
|
||||
When we run "jrnl --diagnostic"
|
||||
Then the output should contain "jrnl"
|
||||
And the output should contain "Python"
|
||||
|
||||
@todo
|
||||
Scenario: --list outputs to user without exceptions
|
||||
Scenario: Listing available journals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue