Go Assertions

Open-source Go projects categorized as Assertions | Edit details

Top 7 Go Assertion Projects

  • GitHub repo Testify

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

    Project mention: Snapshot testing in Golang | dev.to | 2022-01-03

    The community has built libraries on top of the standard testing package to provide some of the functionality like testify does.

  • GitHub repo httpexpect

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

    Project mention: Gostman: Postman like inside Go testing | reddit.com/r/golang | 2021-11-26

    I use this library: https://github.com/gavv/httpexpect

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo gock

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

    Project mention: Testing methods with HTTP calls? | reddit.com/r/golang | 2021-11-19

    h2non/gock and

  • GitHub repo gotest.tools

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

  • GitHub repo go-testdeep

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

    Project mention: go-testdeep v1.11.0 released with many new features and some fixes | reddit.com/r/golang | 2022-01-05
  • GitHub repo jsonassert

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

  • GitHub repo attest

    A small library to make go tests more readable.

    Project mention: Is there a process for preparing a library for Go 2 compatibility? | reddit.com/r/golang | 2021-04-09

    I have a library which would greatly benefit from the generics feature of Go 2. Is there a way that I can develop and test against the current development version of Go 2, or is it too early?

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

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 2022-01-05.

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 15,166
2 httpexpect 1,840
3 gock 1,544
4 gotest.tools 273
5 go-testdeep 241
6 jsonassert 76
7 attest 0
Find remote jobs at our new job board 99remotejobs.com. There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org