File: scenario.feature

package info (click to toggle)
golang-github-gucumber-gucumber 0.0~git20180127.7d5c79e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 180 kB
  • sloc: makefile: 10
file content (22 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@scenario @fast
Feature: Scenarios
  This package should support the use of scenarios.

  @basic
  Scenario: Basic usage
    Given I have an initial step
    And I have a second step
    When I run the "gucumber" command
    Then this scenario should execute 1 time and pass
    And setup was called 1 time

  @outline
  Scenario Outline: Scenario outline
    Given I perform <val1> + <val2>
    Then I should get <result>
    And setup was called 1 time

    Examples:
      | val1 | val2 | result |
      | 1    | 2    | 3      |
      | 3    | 4    | 7      |