mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 08:21:47 +01:00
improve integration test of cli scripts
This commit is contained in:
parent
4c73e260e3
commit
daef1c440b
9 changed files with 152 additions and 42 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Create project from template
|
||||
Feature: Create project from template on console
|
||||
In order to be able to create a project from a template
|
||||
As a user who has installed Tracks with console access
|
||||
I want to run the script to add projects and actions from a template
|
||||
|
|
@ -21,7 +21,7 @@ Feature: Create project from template
|
|||
My first project
|
||||
.My first task in this project
|
||||
"""
|
||||
When I execute the script
|
||||
When I execute the template script
|
||||
Then I should have a project called "My first project"
|
||||
And I should have 1 todo in project "My first project"
|
||||
|
||||
|
|
@ -33,5 +33,5 @@ Feature: Create project from template
|
|||
.Todo
|
||||
^Dependent
|
||||
"""
|
||||
When I execute the script
|
||||
When I execute the template script
|
||||
Then the successors of "Todo" should include "Dependent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue