Skip to content

Lightweight assertions for Go tests

License

Notifications You must be signed in to change notification settings

teleivo/assertive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assertive

Go Reference

Assertive is an assertion library for writing tests in Go.

It only has one dependency on https://github.com/google/go-cmp.

Install

go get -u github.com/teleivo/assertive

Disclaimer

I wrote this library for my personal projects. It is thus tailored to my style of writing tests. I do try to stick to https://go.dev/wiki/CodeReviewComments#useful-test-failures. Feel free to use it! That being said, my intention is not to adjust it to someone elses liking.