$ go get github.com/wallclockbuilder/convey
Make a test, for example:
func TestSpec(t *testing.T) {
// Only pass t into top-level Convey calls
Convey("Given some integer with a starting value", t, func() {
x := 1
Convey("When the integer is incremented", func() {
x++
Convey("The value should be greater by one", func() {
So(x, ShouldEqual, 2)
})
})
})
}
Just do what you do best:
$ go test
Or if you want the output to include the story:
$ go test -v