 061d3a3b74
			
		
	
	
		061d3a3b74
		
	
	
	
	
		
			
			Updated lang.feature with the additional cucumber.feature Updated load.feature with the additional cucumber.feature Updated events.feature to account for ripple effect of updating lang and load Updated run.go to indicate that cucumber formatter does not support concurrent. Updated suite_test.go to handle one new testing step.
		
			
				
	
	
		
			78 строки
		
	
	
	
		
			2,1 КиБ
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			78 строки
		
	
	
	
		
			2,1 КиБ
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
| Feature: event stream formatter
 | |
|   In order to have universal cucumber formatter
 | |
|   As a test suite
 | |
|   I need to be able to support event stream formatter
 | |
| 
 | |
|   Scenario: should fire only suite events without any scenario
 | |
|     Given a feature path "features/load.feature:4"
 | |
|     When I run feature suite with formatter "events"
 | |
|     Then the following events should be fired:
 | |
|       """
 | |
|         TestRunStarted
 | |
|         TestSource
 | |
|         TestRunFinished
 | |
|       """
 | |
| 
 | |
|   Scenario: should process simple scenario
 | |
|     Given a feature path "features/load.feature:22"
 | |
|     When I run feature suite with formatter "events"
 | |
|     Then the following events should be fired:
 | |
|       """
 | |
|         TestRunStarted
 | |
|         TestSource
 | |
|         TestCaseStarted
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         TestCaseFinished
 | |
|         TestRunFinished
 | |
|       """
 | |
| 
 | |
|   Scenario: should process outline scenario
 | |
|     Given a feature path "features/load.feature:30"
 | |
|     When I run feature suite with formatter "events"
 | |
|     Then the following events should be fired:
 | |
|       """
 | |
|         TestRunStarted
 | |
|         TestSource
 | |
|         TestCaseStarted
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         TestCaseFinished
 | |
|         TestCaseStarted
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         TestCaseFinished
 | |
|         TestCaseStarted
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         StepDefinitionFound
 | |
|         TestStepStarted
 | |
|         TestStepFinished
 | |
|         TestCaseFinished
 | |
|         TestRunFinished
 | |
|       """
 |