flute alternatives and similar packages
Based on the "Testing Frameworks" category.
Alternatively, view flute alternatives based on common mentions on social networks and blogs.
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. -
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 ๐ป -
embedded-postgres
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test -
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 -
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! ๐ -
jsonassert
A Go test assertion library for verifying that two representations of JSON are semantically equal -
GoSpec
Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED] -
assert
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions -
fluentassert
DISCONTINUED. Extensible, type-safe, fluent assertion Go library. Do NOT use it (sic!).
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of flute or a related project?
Popular Comparisons
README
flute
Golang HTTP client testing framework
Presentation
https://speakerdeck.com/szksh/flute-golang-http-client-testing-framework
Overview
flute
is the Golang HTTP client testing framework.
The goal is
- Test request parameters such as the request path, headers and body
- Mock the HTTP server
flute.Transport
implements http.RoundTripper.
flute
uses testify's assert internally.
You can test the http request parameters with assert.
For example, the following test failure message means the request header is unexpected value.
=== RUN TestClient_CreateUser
--- FAIL: TestClient_CreateUser (0.00s)
tester.go:168:
Error Trace: tester.go:168
tester.go:32
transport.go:25
client.go:250
client.go:174
client.go:641
client.go:509
create_user.go:45
create_user_test.go:56
Error: Not equal:
expected: []string{"token XXXXX"}
actual : []string{"token "}
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,3 @@
([]string) (len=1) {
- (string) (len=11) "token XXXXX"
+ (string) (len=6) "token "
}
Test: TestClient_CreateUser
Messages: the request header "Authorization" should match
service: http://example.com
request name: create a user
Please see the example.
Example
Please see [examples](examples).
License
[MIT](LICENSE)
*Note that all licence references and agreements mentioned in the flute README section above
are relevant to that project's source code only.