Popularity
6.3
Growing
Activity
5.4
-
426
9
45
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. -
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
go-carpet - 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 -
schema
Quick and easy expression matching for JSON schemas used in requests and responses -
gosuite
Test suites support for standard Go1.7 "testing" by leveraging Subtests feature
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
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).