-
Notifications
You must be signed in to change notification settings - Fork 477
Feature: Test Framework Utilities #193
Copy link
Copy link
Closed
Labels
feature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decision
Metadata
Metadata
Assignees
Labels
feature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decision
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Triage
Describe the solution you'd like
This is a follow up of #144 (comment).
Having Data Classes and Typing has made a significant difference! Being able to leverage them in testing using provided samples, mocks and/or fixtures could be useful too.
A dedicated module might make sense in order not to modify existing utilities to accommodate testing ability.
Describe alternatives you've considered
aws_lambda_contextmodule as described in the linked thread.LambdaContextwith setters only - not possible as Python requires@propertyto be redeclaredAdditional context
In the mean time, I've had success with:
I was also not able to use the documented suggestion as provided. Not sure if this warrants a separate issue.
Screenshot