Cucumber Ltd / jam

Project namesfeatures/projects/project_names.feature

Release Daytona (2019-04-11)

Steve Tooke

Currently viewing

Feature: Project names


  • A project must have a name
  • A project needs a unique name

Scenario: a project exists with the same name

  • Given Jane has created janes-project
  • When Sally tries to create a project called janes-project
  • Then Sally should be told that janes-project already exists

Scenario: a project without a name

  • When Bob tries to create a project with no name
  • Then Bob should be told to enter a project name

Scenario: rename a project

Sometimes you want to give you project a new name. Because you made a typo or found better way to describe it in one word.

  • Given Dolly has created dollus-project
  • When Dolly renames dollus-project to dollys-project
  • Then Dolly should be able to access dollys-project
  • And Dolly should not be able to access dollus-project