Skip to content

viamrobotics/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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