Skip to content

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

687 B
Raw Blame

MiniStack — Java Testcontainers Example

Integration tests for S3, SQS, and DynamoDB using Testcontainers and the AWS SDK v2.

Prerequisites

  • Java 17+
  • Maven 3.8+
  • Docker (running)

Run

mvn test

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, DeleteObject
SQS CreateQueue, SendMessage, ReceiveMessage, DeleteMessage, GetQueueAttributes
DynamoDB CreateTable, PutItem, GetItem, UpdateItem, DeleteItem