mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Core testing
This commit is contained in:
parent
b2b842711d
commit
47c90b6d40
4 changed files with 57 additions and 0 deletions
14
features/core.feature
Normal file
14
features/core.feature
Normal file
|
@ -0,0 +1,14 @@
|
|||
Feature: Basic reading and writing to a journal
|
||||
|
||||
Scenario: Loading a sample journal
|
||||
Given we use "basic.json"
|
||||
When we run "jrnl -n 2"
|
||||
Then we should get no error
|
||||
Then the output should be
|
||||
"""
|
||||
2013-06-09 15:39 My first entry.
|
||||
| Everything is alright
|
||||
|
||||
2013-06-10 15:40 Life is good.
|
||||
| But I'm better.
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue