Closed as not planned
Description
Use case
Currently to test lambdas with actual payloads we either have to run them locally, or generate payloads with AWS SAM and modify them for our needs. This can be cumbersome for testing and generating the expected payload for testing.
Solution/User Experience
Create a library which generates payloads with parameters for body, attributes, headers, and whatnot where appropriate (and helper functions to simplify them where needed).
This way we can dynamically generate payloads at runtime, and simplify test creation.
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Closed