v0.10.0 release
Этот коммит содержится в:
		
							родитель
							
								
									cff1e2f197
								
							
						
					
					
						коммит
						51a387469c
					
				
					 5 изменённых файлов: 14 добавлений и 14 удалений
				
			
		|  | @ -20,7 +20,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt | ||||||
| 
 | 
 | ||||||
| ### Fixed | ### Fixed | ||||||
| 
 | 
 | ||||||
| ## [v0.10.0-rc1] | ## [v0.10.0] | ||||||
| 
 | 
 | ||||||
| ### Added | ### Added | ||||||
| - Added concurrency support to the pretty formatter ([275](https://github.com/cucumber/godog/pull/275) - [lonnblad]) | - Added concurrency support to the pretty formatter ([275](https://github.com/cucumber/godog/pull/275) - [lonnblad]) | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
										
									
									
									
								
							|  | @ -43,13 +43,13 @@ When automated testing is this much fun, teams can easily protect themselves fro | ||||||
| 
 | 
 | ||||||
| ## Install | ## Install | ||||||
| ``` | ``` | ||||||
| go get github.com/cucumber/godog/cmd/godog@v0.10.0-rc1 | go get github.com/cucumber/godog/cmd/godog@v0.10.0 | ||||||
| ``` | ``` | ||||||
| Adding `@v0.10.0-rc1` will install v0.10.0-rc1 specifically instead of master. | Adding `@v0.10.0` will install v0.10.0 specifically instead of master. | ||||||
| 
 | 
 | ||||||
| Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this: | Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this: | ||||||
| ``` | ``` | ||||||
| GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.10.0-rc1 | GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.10.0 | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## Contributions | ## Contributions | ||||||
|  | @ -178,7 +178,7 @@ func FeatureContext(s *godog.Suite) { | ||||||
| 	s.Step(`^there should be (\d+) remaining$`, thereShouldBeRemaining) | 	s.Step(`^there should be (\d+) remaining$`, thereShouldBeRemaining) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // godog v0.10.0-rc1 (latest) | // godog v0.10.0 (latest) | ||||||
| func InitializeTestSuite(ctx *godog.TestSuiteContext) { | func InitializeTestSuite(ctx *godog.TestSuiteContext) { | ||||||
| 	ctx.BeforeSuite(func() { Godogs = 0 }) | 	ctx.BeforeSuite(func() { Godogs = 0 }) | ||||||
| } | } | ||||||
|  | @ -252,7 +252,7 @@ func TestMain(m *testing.M) { | ||||||
| 		FeatureContext(s) | 		FeatureContext(s) | ||||||
| 	}, opts) | 	}, opts) | ||||||
| 
 | 
 | ||||||
| 	// godog v0.10.0-rc1 (latest) | 	// godog v0.10.0 (latest) | ||||||
| 	status := godog.TestSuite{ | 	status := godog.TestSuite{ | ||||||
| 		Name: "godogs", | 		Name: "godogs", | ||||||
| 		TestSuiteInitializer: InitializeTestSuite, | 		TestSuiteInitializer: InitializeTestSuite, | ||||||
|  | @ -289,7 +289,7 @@ func TestMain(m *testing.M) { | ||||||
| 		FeatureContext(s) | 		FeatureContext(s) | ||||||
| 	}, opts) | 	}, opts) | ||||||
| 
 | 
 | ||||||
| 	// godog v0.10.0-rc1 (latest) | 	// godog v0.10.0 (latest) | ||||||
| 	status := godog.TestSuite{ | 	status := godog.TestSuite{ | ||||||
| 		Name: "godogs", | 		Name: "godogs", | ||||||
| 		TestSuiteInitializer: InitializeTestSuite, | 		TestSuiteInitializer: InitializeTestSuite, | ||||||
|  | @ -326,7 +326,7 @@ func TestMain(m *testing.M) { | ||||||
| 		FeatureContext(s) | 		FeatureContext(s) | ||||||
| 	}, opts) | 	}, opts) | ||||||
| 
 | 
 | ||||||
| 	// godog v0.10.0-rc1 (latest) | 	// godog v0.10.0 (latest) | ||||||
| 	status := godog.TestSuite{ | 	status := godog.TestSuite{ | ||||||
| 		Name: "godogs", | 		Name: "godogs", | ||||||
| 		TestSuiteInitializer: InitializeTestSuite, | 		TestSuiteInitializer: InitializeTestSuite, | ||||||
|  |  | ||||||
|  | @ -20,6 +20,6 @@ Feature: get version | ||||||
|     And the response should match json: |     And the response should match json: | ||||||
|       """ |       """ | ||||||
|       { |       { | ||||||
|         "version": "v0.10.0-rc1" |         "version": "v0.10.0" | ||||||
|       } |       } | ||||||
|       """ |       """ | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								godog.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								godog.go
									
										
									
									
									
								
							|  | @ -39,4 +39,4 @@ Godog was inspired by Behat and Cucumber the above description is taken from it' | ||||||
| package godog | package godog | ||||||
| 
 | 
 | ||||||
| // Version of package - based on Semantic Versioning 2.0.0 http://semver.org/ | // Version of package - based on Semantic Versioning 2.0.0 http://semver.org/ | ||||||
| const Version = "v0.10.0-rc1" | const Version = "v0.10.0" | ||||||
|  |  | ||||||
|  | @ -53,8 +53,8 @@ Deprecation Notices | ||||||
| ```go | ```go | ||||||
| godog.TestSuite{ | godog.TestSuite{ | ||||||
| 	Name: suiteName, | 	Name: suiteName, | ||||||
| 	TestSuiteInitializer: testSuiteInitializer, | 	TestSuiteInitializer: InitializeTestSuite, | ||||||
| 	ScenarioInitializer: scenarioInitializer, | 	ScenarioInitializer: InitializeScenario, | ||||||
| }.Run() | }.Run() | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | @ -62,8 +62,8 @@ godog.TestSuite{ | ||||||
| ```go | ```go | ||||||
| godog.TestSuite{ | godog.TestSuite{ | ||||||
| 	Name: suiteName, | 	Name: suiteName, | ||||||
| 	TestSuiteInitializer: testSuiteInitializer, | 	TestSuiteInitializer: InitializeTestSuite, | ||||||
| 	ScenarioInitializer: scenarioInitializer, | 	ScenarioInitializer: InitializeScenario, | ||||||
| 	Options: &opts, | 	Options: &opts, | ||||||
| }.Run() | }.Run() | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче
	
	 Fredrik Lönnblad
						Fredrik Lönnblad