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
  • 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.

  • 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)

  • 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.

  • test

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

  • verify

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

    Project mention: fluentassert/verify 1.0.0 is released | /r/golang | 2023-04-05

    After more than 4 months of RC phase, I published a stable release of https://github.com/fluentassert/verify

  • 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). The latest post mention was on 2023-12-01.

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 21,731
2 httpexpect 2,430
3 gock 2,002
4 quicktest 507
5 gotest.tools 481
6 go-testdeep 417
7 jsonassert 117
8 test 70
9 verify 39
10 probe 28
11 trial 6
12 must 6
13 attest 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com