Description

Package terst is a terse (terst = test + terse), easy-to-use testing library for Go.

terst is compatible with (and works via) the standard testing package: http://golang.org/pkg/testing

var is = terst.Is

func Test(t *testing.T) {
    terst.Terst(t, func() {
        is("abc", "abc")

        is(1, ">", 0)

        var abc []int
        is(abc, nil)
    }
}

Do not import terst directly, instead use `terst-import` to copy it into your testing environment:

https://github.com/robertkrimen/terst/tree/master/terst-import

$ go get github.com/robertkrimen/terst/terst-import

$ terst-import

terst is referenced in 1 repository

github.com/robertkrimen/otto