Run tests and next steps
Table of contents
Run the tests
$ ./mvnw test
Or with Gradle:
$ ./gradlew test
You should see the LocalStack Docker container start and the test pass. After the tests finish, the container stops and is removed automatically.
Summary
LocalStack lets you develop and test AWS-based applications locally. The Testcontainers LocalStack module makes it straightforward to write integration tests by using ephemeral LocalStack containers that start on random ports with no external setup required.
To learn more about Testcontainers, visit the Testcontainers overview.