/assert

A minimal & stateless assert package for writing tests.

Primary LanguageGoOtherNOASSERTION

assert

Godoc Report Tests Coverage Sponsor

A minimal & stateless assert package for writing tests.

API

assert.Nil(t, nil)
assert.True(t, true)
assert.Equal(t, "Hello", "Hello")
assert.DeepEqual(t, "Hello", "Hello")
assert.Contains(t, "Hello", "ello")

Features

  • 0 dependencies
  • About 250 lines of code
  • Minimal interface

Style

Please take a look at the style guidelines if you'd like to make a pull request.

Sponsors

Cedric Fung Scott Rayapoullé Eduard Urbach
Cedric Fung Scott Rayapoullé Eduard Urbach

Want to see your own name here?