Skip to content

Commit

Permalink
update README (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
satorunooshie authored Aug 9, 2023
1 parent 0cc6e27 commit ac23338
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ t.Run(APITestName, func(t *testing.T) {
})
```

For begin, run tests with `-golden` option to generate or update golden files.

```sh
go test -v ./... -golden
```

After updating golden files, run tests without `-golden` option to compare the responses.

For more detail, see [examples](https://github.com/satorunooshie/e2e/blob/main/example/main_test.go).

0 comments on commit ac23338

Please sign in to comment.