Popularity
6.5
Growing
Activity
5.0
-
490
10
50
Programming language: Go
License: GNU General Public License v3.0 or later
Tags:
Testing
Testing Frameworks
Latest version: v3.0.3
gotest.tools alternatives and similar packages
Based on the "Testing Frameworks" category.
Alternatively, view gotest.tools alternatives based on common mentions on social networks and blogs.
-
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library -
GoConvey
Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go. -
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. -
Looking for Maintainer
Selenium/Webdriver client for Go -
gnomock
Test your code without writing mocks with ephemeral Docker containers ๐ฆ Setup popular services with just a couple lines of code โฑ๏ธ No bash, no yaml, only code ๐ป -
go-vcr
Record and replay your HTTP interactions for fast, deterministic and accurate tests -
testfixtures
Ruby on Rails like test fixtures for Go. Write tests against a real database -
goc
A Comprehensive Coverage Testing System for The Go Programming Language -
embedded-postgres
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test -
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! ๐ -
go-testdeep
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite -
go-carpet
Tool for show test coverage in terminal for Go source files -
dbcleaner
Clean database for testing, inspired by database_cleaner for Ruby -
GoSpec
Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED] -
jsonassert
A Go test assertion library for verifying that two representations of JSON are semantically equal -
testcase
testcase is an opinionated testing framework to support test driven design. -
assert
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions -
gherkingen
Behaviour Driven Development tests generator for Golang -
fluentassert
Extensible, type-safe, fluent assertion Go library. -
gogiven
gogiven - BDD testing framework for go that generates readable output directly from source code
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.
Promo
workos.com
Do you think we are missing an alternative of gotest.tools or a related project?
README
gotest.tools
A collection of packages to augment testing
and support common patterns.
Usage
With Go modules enabled (go1.11+)
$ go get gotest.tools/v3
import "gotest.tools/v3/assert"
To use gotest.tools
with an older version of Go that does not understand Go
module paths pin to version v2.3.0
.
Packages
- assert - compare values and fail the test when a comparison fails
- env - test code which uses environment variables
- fs - create temporary files and compare a filesystem tree to an expected value
- golden - compare large multi-line strings against values frozen in golden files
- icmd - execute binaries and test the output
- poll - test asynchronous code by polling until a desired state is reached
- skip - skip a test and print the source code of the condition used to skip the test
Related
- gotest.tools/gotestsum - go test runner with custom output
- go testing patterns - zero-depedency patterns for organizing test cases
- test doubles and patching - zero-depdency test doubles (fakes, spies, stubs, and mocks) and monkey patching patterns
Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).