Skip to content

Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.

641 B
Raw Blame

MiniStack — Go Testcontainers Example

Integration tests for S3, SQS, and DynamoDB using testcontainers-go and the AWS SDK v2.

Prerequisites

  • Go 1.21+
  • Docker (running)

Run

go mod tidy
go test ./... -v

Testcontainers will pull ministackorg/ministack:latest, start it, run the tests, and tear it down automatically.

What's tested

Service Operations
S3 CreateBucket, PutObject, GetObject, ListBuckets
SQS CreateQueue, SendMessage, ReceiveMessage
DynamoDB CreateTable, PutItem, GetItem, DeleteItem