Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed Jul 22, 2021
1 parent 63fd657 commit cdbb0ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt

### Added

* Support for step definitions without return ([364](https://github.com/cucumber/godog/pull/364) -[titouanfreville])

### Changed

* Upgraded gherkin-go to v19 ([402](https://github.com/cucumber/godog/pull/402) - [mbow])
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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

We only need a number of **godogs** for now. Lets keep it simple.
Expand Down

0 comments on commit cdbb0ac

Please sign in to comment.