Update documentation
Этот коммит содержится в:
родитель
63fd657a22
коммит
cdbb0ac3f3
2 изменённых файлов: 10 добавлений и 0 удалений
|
@ -12,6 +12,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* Support for step definitions without return ([364](https://github.com/cucumber/godog/pull/364) -[titouanfreville])
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Upgraded gherkin-go to v19 ([402](https://github.com/cucumber/godog/pull/402) - [mbow])
|
* Upgraded gherkin-go to v19 ([402](https://github.com/cucumber/godog/pull/402) - [mbow])
|
||||||
|
|
|
@ -210,6 +210,14 @@ Feature: eat godogs
|
||||||
|
|
||||||
You may change **return godog.ErrPending** to **return nil** in the three step definitions and the scenario will pass successfully.
|
You may change **return godog.ErrPending** to **return nil** in the three step definitions and the scenario will pass successfully.
|
||||||
|
|
||||||
|
Also, you may omit error return if your step does not fail.
|
||||||
|
|
||||||
|
```go
|
||||||
|
func iEat(arg1 int) {
|
||||||
|
// Eat arg1.
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#### Step 5 - Create the main program to test
|
#### Step 5 - Create the main program to test
|
||||||
|
|
||||||
We only need a number of **godogs** for now. Lets keep it simple.
|
We only need a number of **godogs** for now. Lets keep it simple.
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче