A golang test library. It's essentially a light wrapper around all assertions from https://github.com/smartystreets/assertions.
package test
import (
"testing"
"go.viam.com/test"
)
func TestExample(t *testing.T) {
test.That(t, 1, ShouldEqual, 1)
test.That(t, 1, ShouldNotEqual, "1")
}
Copyright 2021-2022 Viam Inc.
Apache 2.0 - See LICENSE file