Skip to content

Instantly share code, notes, and snippets.

View msailes's full-sized avatar

Mark Sailes msailes

View GitHub Profile
@msailes
msailes / LocalEndToEndTest.java
Created June 14, 2023 11:29
Local end to end testing for Lambda handlers. This is useful to test how your events will be serialized by the managed runtime.
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
package helloworld;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.localstack.LocalStackContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;