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
|
||||
|
||||
## [v0.10.0-rc1]
|
||||
## [v0.10.0]
|
||||
|
||||
### Added
|
||||
- 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
|
||||
```
|
||||
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:
|
||||
```
|
||||
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
|
||||
|
@ -178,7 +178,7 @@ func FeatureContext(s *godog.Suite) {
|
|||
s.Step(`^there should be (\d+) remaining$`, thereShouldBeRemaining)
|
||||
}
|
||||
|
||||
// godog v0.10.0-rc1 (latest)
|
||||
// godog v0.10.0 (latest)
|
||||
func InitializeTestSuite(ctx *godog.TestSuiteContext) {
|
||||
ctx.BeforeSuite(func() { Godogs = 0 })
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ func TestMain(m *testing.M) {
|
|||
FeatureContext(s)
|
||||
}, opts)
|
||||
|
||||
// godog v0.10.0-rc1 (latest)
|
||||
// godog v0.10.0 (latest)
|
||||
status := godog.TestSuite{
|
||||
Name: "godogs",
|
||||
TestSuiteInitializer: InitializeTestSuite,
|
||||
|
@ -289,7 +289,7 @@ func TestMain(m *testing.M) {
|
|||
FeatureContext(s)
|
||||
}, opts)
|
||||
|
||||
// godog v0.10.0-rc1 (latest)
|
||||
// godog v0.10.0 (latest)
|
||||
status := godog.TestSuite{
|
||||
Name: "godogs",
|
||||
TestSuiteInitializer: InitializeTestSuite,
|
||||
|
@ -326,7 +326,7 @@ func TestMain(m *testing.M) {
|
|||
FeatureContext(s)
|
||||
}, opts)
|
||||
|
||||
// godog v0.10.0-rc1 (latest)
|
||||
// godog v0.10.0 (latest)
|
||||
status := godog.TestSuite{
|
||||
Name: "godogs",
|
||||
TestSuiteInitializer: InitializeTestSuite,
|
||||
|
|
|
@ -20,6 +20,6 @@ Feature: get version
|
|||
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
|
||||
|
||||
// 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
|
||||
godog.TestSuite{
|
||||
Name: suiteName,
|
||||
TestSuiteInitializer: testSuiteInitializer,
|
||||
ScenarioInitializer: scenarioInitializer,
|
||||
TestSuiteInitializer: InitializeTestSuite,
|
||||
ScenarioInitializer: InitializeScenario,
|
||||
}.Run()
|
||||
```
|
||||
|
||||
|
@ -62,8 +62,8 @@ godog.TestSuite{
|
|||
```go
|
||||
godog.TestSuite{
|
||||
Name: suiteName,
|
||||
TestSuiteInitializer: testSuiteInitializer,
|
||||
ScenarioInitializer: scenarioInitializer,
|
||||
TestSuiteInitializer: InitializeTestSuite,
|
||||
ScenarioInitializer: InitializeScenario,
|
||||
Options: &opts,
|
||||
}.Run()
|
||||
```
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче