SaaSHub helps you find the best software and product alternatives Learn more →
Top 9 Go Assertion Projects
A toolkit with common assertions and mocks that plays nicely with the standard libraryProject mention: Golang, GraphQL y Postgress | reddit.com/r/devsarg | 2023-01-26
Como herramientas te recomiendo: FastJson https://github.com/valyala/fastjson : Si necesitas leer jsons Testify https://github.com/stretchr/testify : Para mockear y testear
End-to-end HTTP and REST API testing for Go.Project mention: Best packages? | reddit.com/r/golang | 2022-10-16
httpexpect for testing HTTP services. Works great with both RESTful and GraphQL.
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽Project mention: Testing calls to external APIs | reddit.com/r/golang | 2022-12-09
Mocking the http client with explicit responses; for example using h2non/gock
Quick helpers for testing Go applications (by frankban)
A collection of packages to augment the go testing package and support common patterns.Project mention: How do you do DB preparation in e2e tests? | reddit.com/r/golang | 2022-10-20
Assertion libraries that people seem to love: - testify (my favorite) - go-cmp is a more barebones library - gotest.tools -- I have never used this but some swear by it
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suiteProject mention: Working with JSON in Go: A Comprehensive Guide | reddit.com/r/golang | 2023-01-05
And do not forget to use go-testdeep and its JSON operator to test JSON content: :)
A Go test assertion library for verifying that two representations of JSON are semantically equal (by kinbiko)
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
A simple assertion library for go (by jgroeneveld)
A small library to make go tests more readable. (by dscottboggs)
Go Assertions related posts
Introdução aos testes unitários em Go
1 project | dev.to | 13 Jan 2023
How do you do DB preparation in e2e tests?
3 projects | reddit.com/r/golang | 20 Oct 2022
I don't understand popularity of a table driven tests approach
2 projects | reddit.com/r/golang | 23 Jul 2022
Next month I'll start working at a company as a Backend Developer and will be mostly using Go. How can I better prepare myself?
4 projects | reddit.com/r/golang | 18 Jul 2022
sqlassert - Go package with assertion helpers for SQL databases
1 project | reddit.com/r/golang | 19 Jun 2022
testcase v0.80.0 - release testcase/assert with package level assertion functions
2 projects | reddit.com/r/golang | 8 Jun 2022
Make The Dead Fish Swim - Test Driven Golang
1 project | dev.to | 29 May 2022
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea6052ba00>
www.saashub.com | 8 Feb 2023
What are some of the best open-source Assertion projects in Go? This list will help you: