11 Resources
Golang assert Libraries
Type-safe assertion helpers for Go
attest attest is a small package of type-safe assertion helpers. Under the hood, it uses cmp for equality testing and diffing. You may enjoy attest if
Assert to perform programming assertions
Cli EN README Assert para realizar las aserciones de programación. GoDoc godoc for github Menú Principal Se configura un menú con ese ejemplo como dis
lightwight test environment
Should lightweight test environment Install go get github.com/maprost/should Supported methods should.BeEqual(t, element, element) - check if two el
Simple and colorful test tools
tt Simple and colorful test tools Installation/Update go get -u github.com/vcaesar/tt Usage: Look at an example package tt import ( "fmt" "testing
An assert function for Go that works like the one in C.
Assert This package provides an assert function for Go. It's designed to work like assert in C.
🏳️ Go package that provides function like assert of Python or C++.
gassert gassert is Go package that provides function like assert of Python or C++. With gassert, you can check validation of parameters or values more
Assert your Go code is inlined and bounds-check eliminated
gcassert gcassert is a program for making assertions about compiler decisions in Golang programs, via inline comment directives like //gcassert:inline
🍀 Go basic library. || Go语言基础库
Go语言基础库 工程目录说明 pkg/ ...... 源码包 |-- bininfo/ ...... 将编译时源码的git版本信息(当前commit log的sha值和commit message),编译时间,Go版本,平台打入程序中
A collection of packages to augment the go testing package and support common patterns.
gotest.tools A collection of packages to augment testing and support common patterns. Usage With Go modules enabled (go1.11+) $ go get gotest.tools/v3
Expressive end-to-end HTTP API testing made easy in Go
baloo Expressive and versatile end-to-end HTTP API testing made easy in Go (golang), built on top of gentleman HTTP client toolkit. Take a look to the
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions
Package assert Package assert is a Basic Assertion library used along side native go testing Installation Use go get. go get github.com/go-playground/