Cucumber Ltd / cucumber-pro

Changes in a releasefeatures/history/changes_in_a_release.feature

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Feature: Changes to documents in a release

Understand how the behaviour of the software changes between releases.

Background:

  • Given Daniela has created alpha-project
  • And Daniela has uploaded her public key
  • And Daniela has added the following files:
    something.feature

Scenario: the first release adds all the documents

  • When Daniela creates release v1.0
  • Then Daniela can see these changes in release v1.0
    Somethingadded

Scenario: modified files

  • Given Daniela has created release v1.0
  • And Daniela has changed `something.feature`
  • When Daniela creates release v1.1
  • Then Daniela can see these changes in release v1.1
    Somethingmodified

Scenario: added then modified summarise as added

  • Given Daniela has created release v1.0
  • And Daniela has added `readme.md`
  • And Daniela has changed `readme.md`
  • When Daniela creates release v1.1
  • Then Daniela can see these changes in release v1.1
    Readmeadded

Scenario: modified then deleted summarise as deleted

  • Given Daniela has created release v1.0
  • And Daniela has changed `something.feature`
  • And Daniela has deleted `something.feature`
  • When Daniela creates release v1.1
  • Then Daniela can see these changes in release v1.1
    Somethingdeleted

Scenario: added then deleted is no change

  • Given Daniela has created release v1.0
  • And Daniela has added `readme.md`
  • And Daniela has deleted `readme.md`
  • When Daniela creates release v1.1
  • Then Daniela can see no changes in release v1.1

Scenario: renamed a file

  • Given Daniela has created release v1.0
  • And Daniela has renamed `something.feature` to `newthing.feature`
  • When Daniela creates release v1.1
  • Then Daniela can see these changes in release v1.1
    Newthingrenamed