akyoto / assert

A minimal & stateless assert package for writing tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

About

A minimal & stateless assert package for writing tests.

License:Other


Languages

Language:Go 100.0%