Added installation instructions to README

pull/14/merge
Mat Ryer 2012-10-17 16:51:32 +01:00
parent b382289e76
commit 3ecd9e00cf
1 changed files with 24 additions and 0 deletions

View File

@ -61,6 +61,30 @@ For more information on how to write mock code, check out the API documentation
------
Installation
============
To install Testify, use `go get`:
go get github.com/stretchrcom/testify
Then import the `testify` package into your code using this template:
package yours
import (
"testing"
"github.com/stretchrcom/testify"
)
func TestSomething(t *testing.T) {
assert.True(t, true, "True is true!")
}
------
Contributing
============