Help us shape the future of Go! Take the 2026 Go Developer Survey

tests/

directory
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT

Directories

Path Synopsis
Package fixtures provides thin, hand-written factories over the GENERATED gomock mocks in the sibling mocks package.
Package fixtures provides thin, hand-written factories over the GENERATED gomock mocks in the sibling mocks package.
dbtest/cassandra
Package cassandra provides a testcontainers-based Apache Cassandra 5 instance for integration tests.
Package cassandra provides a testcontainers-based Apache Cassandra 5 instance for integration tests.
dbtest/elasticmq
Package elasticmq provides a testcontainers-based ElasticMQ (SQS-compatible) instance for integration tests.
Package elasticmq provides a testcontainers-based ElasticMQ (SQS-compatible) instance for integration tests.
dbtest/minio
Package minio provides a testcontainers-based MinIO instance for integration tests.
Package minio provides a testcontainers-based MinIO instance for integration tests.
dbtest/postgres
Package postgres provides a generic testcontainers-based PostgreSQL database for integration tests.
Package postgres provides a generic testcontainers-based PostgreSQL database for integration tests.
dbtest/redis
Package redis provides a testcontainers-based Redis instance for integration tests.
Package redis provides a testcontainers-based Redis instance for integration tests.
e2ekit
Package e2ekit is the gen-free shared test-kit for endpoint E2E + telemetry suites.
Package e2ekit is the gen-free shared test-kit for endpoint E2E + telemetry suites.
outboxtest
Package outboxtest is the reusable OutboxStore conformance suite plus a reference database/sql Postgres store it is proven against.
Package outboxtest is the reusable OutboxStore conformance suite plus a reference database/sql Postgres store it is proven against.
store
Package store (testutil) provides a interfaces.Store implementation that supports call counting and error injection for use in tests.
Package store (testutil) provides a interfaces.Store implementation that supports call counting and error injection for use in tests.
suite
Package suite provides test suite constructors for unit and integration tests.
Package suite provides test suite constructors for unit and integration tests.
suite/base
Package base provides the base test suite with shared utilities.
Package base provides the base test suite with shared utilities.
Package integration holds the Go integration tests: each file exercises a clients-tier backend against the real service it wraps, started in a throwaway testcontainers container by the fixtures under go/tests/fixtures/dbtest — Redis (cache, lock, messaging, replay buffer), MinIO (S3 storage and the S3 connector), ElasticMQ (SQS messaging), and PostgreSQL (River's runtime and migrations).
Package integration holds the Go integration tests: each file exercises a clients-tier backend against the real service it wraps, started in a throwaway testcontainers container by the fixtures under go/tests/fixtures/dbtest — Redis (cache, lock, messaging, replay buffer), MinIO (S3 storage and the S3 connector), ElasticMQ (SQS messaging), and PostgreSQL (River's runtime and migrations).
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL