integration

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package integration is the module root for pkg/go integration tests.

Each sub-package exercises a specific layer against real infrastructure (PostgreSQL, Redis) via testcontainers:

  • clients/ - Redis cache roundtrip over a real Redis container

The Ent-layer integration tests (ent/, repos/, hooks/, seeddata/) live in the contracts/ent/tests/integration module, alongside the schema they exercise.

All tests require the build tag "integration" and a Docker daemon. Run with: INTEGRATION=1 go test -tags=integration ./...

TODO(phase3): Add integration tests for clients/messaging/sqs and clients/jobs/river once the real (non-stub) implementations land. Current Phase 1 stubs return nil without touching a broker or database, so an integration test would exercise no real behavior.

Jump to

Keyboard shortcuts

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