github.com/raarceoml/godog@v0.7.9/features/formatter/events.feature (about)

     1  Feature: event stream formatter
     2    In order to have universal cucumber formatter
     3    As a test suite
     4    I need to be able to support event stream formatter
     5  
     6    Scenario: should fire only suite events without any scenario
     7      Given a feature path "features/load.feature:4"
     8      When I run feature suite with formatter "events"
     9      Then the following events should be fired:
    10        """
    11          TestRunStarted
    12          TestSource
    13          TestRunFinished
    14        """
    15  
    16    Scenario: should process simple scenario
    17      Given a feature path "features/load.feature:24"
    18      When I run feature suite with formatter "events"
    19      Then the following events should be fired:
    20        """
    21          TestRunStarted
    22          TestSource
    23          TestCaseStarted
    24          StepDefinitionFound
    25          TestStepStarted
    26          TestStepFinished
    27          StepDefinitionFound
    28          TestStepStarted
    29          TestStepFinished
    30          StepDefinitionFound
    31          TestStepStarted
    32          TestStepFinished
    33          TestCaseFinished
    34          TestRunFinished
    35        """
    36  
    37    Scenario: should process outline scenario
    38      Given a feature path "features/load.feature:32"
    39      When I run feature suite with formatter "events"
    40      Then the following events should be fired:
    41        """
    42          TestRunStarted
    43          TestSource
    44          TestCaseStarted
    45          StepDefinitionFound
    46          TestStepStarted
    47          TestStepFinished
    48          StepDefinitionFound
    49          TestStepStarted
    50          TestStepFinished
    51          StepDefinitionFound
    52          TestStepStarted
    53          TestStepFinished
    54          TestCaseFinished
    55          TestCaseStarted
    56          StepDefinitionFound
    57          TestStepStarted
    58          TestStepFinished
    59          StepDefinitionFound
    60          TestStepStarted
    61          TestStepFinished
    62          StepDefinitionFound
    63          TestStepStarted
    64          TestStepFinished
    65          TestCaseFinished
    66          TestCaseStarted
    67          StepDefinitionFound
    68          TestStepStarted
    69          TestStepFinished
    70          StepDefinitionFound
    71          TestStepStarted
    72          TestStepFinished
    73          StepDefinitionFound
    74          TestStepStarted
    75          TestStepFinished
    76          TestCaseFinished
    77          TestRunFinished
    78        """