gotest.tools VS go-cmp

Compare gotest.tools vs go-cmp and see what are their differences.

gotest.tools

A collection of packages to augment the go testing package and support common patterns. (by gotestyourself)

go-cmp

Package for comparing Go values in tests (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gotest.tools go-cmp
2 7
491 3,975
2.0% 1.7%
5.0 3.7
4 months ago 4 months ago
Go Go
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gotest.tools

Posts with mentions or reviews of gotest.tools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-20.

go-cmp

Posts with mentions or reviews of go-cmp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-03.

What are some alternatives?

When comparing gotest.tools and go-cmp you can also consider the following projects:

Testify - A toolkit with common assertions and mocks that plays nicely with the standard library

ginkgo - A Modern Testing Framework for Go

is - Professional lightweight testing mini-framework for Go.

go-testdeep - Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite

gotestsum - 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.

JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)

goc - A Comprehensive Coverage Testing System for The Go Programming Language

godog - Cucumber for golang

goblin - Minimal and Beautiful Go testing framework

assert - A simple assertion library using Go generics