Skip to content

[Feature]: E2E tests #37

Description

@phipag

What would you like?

This issue tracks setting up E2E / integration tests from GitHub actions against durable functions deployed in an AWS account. The permission model between GitHub <-> AWS Account needs to be set up e.g. using GitHub OIDC. After this, we should deploy the examples/** using sam and run the CloudBasedIntegrationTest test suite which uses the CloudDurableRunner to invoke the deployed Lambdas and runs assertions against the expected state of the durable function as well as its individual operations.

# ... Clone repo, Configure credentials, build whole maven project

# ... from examples/ folder
sam build 
sam deploy --resolve-image-repos
mvn clean test -B -q -Dtest.cloud.enabled=true -Dtest=CloudBasedIntegrationTest

Possible Implementation

No response

Is this a breaking change?

No

Does this require an RFC?

No

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Fields

No fields configured for Task.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions