Registry / testing / jacobsa-ogletest

jacobsa-ogletest

JSON →
library0.0.0-20170503003838-80d50a735a11gogounverified

Ogletest provides a framework for writing expressive unit tests with automatic failure messages, integrating with the built-in testing package.

go get github.com/jacobsa/ogletest
INSTALL
IMPORT
SIG · JACOBSA-OGLETEST
J
jacobsa-ogletest
testinggov0.0.0-20170503003838-80d50a735a11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ogletest
github.com/jacobsa/ogletest

Defines a test suite with expressive assertions.

package main import ( "testing" . "github.com/jacobsa/ogletest" ) func TestFoo(t *testing.T) { RunTests(t) } func init() { RegisterTestSuite(&MySuite{}) } type MySuite struct{} func (s *MySuite) TestAddition() { ExpectEq(4, 2+2) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170503003838-80d50a735a11latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jacobsa-ogletest — go get jacobsa-ogletest · libregistry