update README.md

pull/69/head
Anatoly Scheglov 2014-07-16 17:39:53 +04:00
parent f6376e8a31
commit b3260a9914
1 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,13 @@ func TestSomething(t *testing.T) {
}
```
`require` package
-------------------------------------------------------------------------------------------
The `require` package provides same global functions as the `assert` package, but instead of returning a boolean result they terminate current test.
See [t.FailNow](http://golang.org/pkg/testing/#T.FailNow) for details.
[`http`](http://godoc.org/github.com/stretchr/testify/http "API documentation") package
---------------------------------------------------------------------------------------