Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 604 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 604 Bytes

test

A golang test library. It's essentially a light wrapper around all assertions from https://github.com/smartystreets/assertions.

PkgGoDev

Usage

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")
}

License

Copyright 2021-2022 Viam Inc.

Apache 2.0 - See LICENSE file