Sha256: c3c8b933524bc601130741c98cbb95508abd931180690a2fdfb1f2e9a84a1d18

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

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)"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
TimeLogger-0.0.2 features/TimeLogger.feature