Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to UpdateItemExpectation for additional properties #38

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

caldwecr
Copy link

The current implementation of UpdateItem / UpdateItemWithContext includes attributes that are currently not able to be asserting on by Dynamock. This PR adds the following:

Adds ConditionExpression support
Adds ExpressionAttributeNames support
Adds ExpressionAttributeValues support
Adds UpdateExpression support

chicken-cas and others added 17 commits March 12, 2021 14:38
 - Adds ConditionExpression support
 - Adds ExpressionAttributeNames support
 - Adds ExpressionAttributeValues support
 - Adds UpdateExpression support
Add support to UpdateItemExpectation for additional properties
…upport_newer_assertions

Update UpdateItemWithContext to have same expectation checks
…upport_newer_assertions

Fix module path to caldwecr/go-dynamock
…_matcher

Add update expression equivalence matcher
…in error

 - When one of the various expectation checks fails for an update clause, the message
   that is shown to the user should be unique and differentiated from others. Doing this
   makes it easier to debug which part of a mock failed its expectation.
…tchers

Update Update expectations checker to give specific expectation type …
@kai-thompson
Copy link

Why hasn't this been merged? Is there anything I can do to help get this in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants