Go Assertions

Open-source Go projects categorized as Assertions

Top 13 Go Assertion Projects

  • Testify

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

  • Project mention: What 3rd-party libraries do you use often/all the time? | /r/golang | 2023-12-01

    github.com/stretchr/testify

  • httpexpect

    End-to-end HTTP and REST API testing for Go.

  • Project mention: FLaNK Stack Weekly for 07August2023 | dev.to | 2023-08-07
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • gock

    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

  • quicktest

    Quick helpers for testing Go applications (by frankban)

  • gotest.tools

    A collection of packages to augment the go testing package and support common patterns.

  • go-testdeep

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

  • jsonassert

    A Go test assertion library for verifying that two representations of JSON are semantically equal (by kinbiko)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • test

    A modern generic testing assertions library for Go (by shoenig)

  • verify

    Extensible, type-safe, fluent assertion Go library. (by fluentassert)

  • probe

    Simplified End-to-End Testing Using YAML and JQ. (by abhimanyu003)

  • trial

    A simple assertion library for go (by jgroeneveld)

  • must

    When you don't need error handling (by xiegeo)

  • attest

    A small library to make go tests more readable. (by dscottboggs)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Assertions related posts

Index

What are some of the best open-source Assertion projects in Go? This list will help you:

Project Stars
1 Testify 22,019
2 httpexpect 2,465
3 gock 2,017
4 quicktest 518
5 gotest.tools 490
6 go-testdeep 418
7 jsonassert 120
8 test 71
9 verify 39
10 probe 28
11 trial 6
12 must 5
13 attest 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com