Commit 9a69586f authored by Thomas Boni's avatar Thomas Boni
Browse files

reorganize example

parent 55916cd7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -10,12 +10,15 @@

### Scenarios
<!-- Using the Gherkin syntax (see https://cucumber.io/docs/gherkin/reference/)
describe several scenarios of the job working. Example for Gitlab release
creation job:
describe several scenarios of the job working. The scenario must include at
least 3 parts :

* Given: Steps used to describe the initial context of the system.
* When:  Steps used to describe an event, or an action.
* Then:  Steps used to describe an expected outcome, or result.

Example for Gitlab release creation job:

Scenario: With a `CHANGELOG.md` file
* Given there is a `CHANGELOG.md` file in repository
* When the job is run on a pipeline on default branch