Merge pull request #1168 from vdemeester/update-testing

Update TESTING.md to replace testify by gotest.tools
This commit is contained in:
Sebastiaan van Stijn 2018-07-02 10:34:28 +02:00 committed by GitHub
commit 1c69e83034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -26,13 +26,11 @@ Test<Function Name><Test Case Name>
where appropriate, but may not be appropriate in all cases. where appropriate, but may not be appropriate in all cases.
Assertions should be made using Assertions should be made using
[testify/assert](https://godoc.org/github.com/stretchr/testify/assert) and test [gotest.tools/assert](https://godoc.org/gotest.tools/assert).
requirements should be verified using
[testify/require](https://godoc.org/github.com/stretchr/testify/require).
Fakes, and testing utilities can be found in Fakes, and testing utilities can be found in
[internal/test](https://godoc.org/github.com/docker/cli/internal/test) and [internal/test](https://godoc.org/github.com/docker/cli/internal/test) and
[gotestyourself](https://godoc.org/github.com/gotestyourself/gotestyourself). [gotest.tools](https://godoc.org/gotest.tools).
## End-to-End Test Suite ## End-to-End Test Suite