Feature: time logger Scenario: start task Given no task is active When I start task "Foo" Then I should see "Started task: Foo" Scenario: stop task Given an active task "Foo" When I do some work for 3 minutes And I stop task "Foo" Then I should see "Stopped task: Foo (3 minutes)" Scenario: start task which you already worked on Given an inactive task "Foo" I worked on for 5 minutes When I start task "Foo" And I do some work for 4 minutes And I stop task "Foo" Then I should see "Started task: Foo" And I should see "Stopped task: Foo (9 minutes)" Scenario: start new task when there is an active one Given an active task "Foo" I worked on for 2 minutes When I start task "Bar" Then I should see "Stopped task: Foo (2 minutes)" And I should see "Started task: Bar" Scenario: list Given I worked on the following tasks: | name | minutes | | Foo | 4 | | Bar | 7 | When I list tasks Then I should see "Foo (4 minutes)" And I should see "Bar (7 minutes)"