Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.16 KB

File metadata and controls

24 lines (18 loc) · 1.16 KB

End-to-end tests

This module is internal and meant to be used for end-to-end (E2E) testing of Powertools for AWS Lambda (Java).

Prerequisites:

Execute test

Before executing the tests in a new AWS account, bootstrap CDK using the following command:

cdk bootstrap aws://<ACCOUNTID>/<REGION>

To execute the E2E tests, use the following command:

export JAVA_VERSION=11 && mvn clean verify -Pe2e

Under the hood

This module leverages the following components:

  • AWS CDK to define the infrastructure and synthesize a CloudFormation template and the assets (lambda function packages)
  • The AWS S3 SDK to push the assets on S3
  • The AWS CloudFormation SDK to deploy the template