You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, writing tests for Idempotency is more costly than creating features or addressing bugs. This is largely due to the complex Boto stubber setup required - it's error prone.
DynamoDB Local official wording also changed to: Except for the endpoint, applications that run with the downloadable version of Amazon DynamoDB should also work with the DynamoDB web service.
This gives us a good trade-off on performance (slower) and contract (closer, not exactly the same).
Why is this needed?
Reduce operational overhead and cognitive load when dealing with tests in Idempotency. Idempotency tests are the hardest to write across the entire code base, and this can lead to future errors as we try to cut corners to overcome the sheer complexity.
Which area does this relate to?
Idempotency
Solution
Use official Docker Image and create new tests with this approach, then recreate one test at a time to prevent regressions.
This won't be necessary anymore. We completed E2E refactor and will move Idempotency to the new stack to use the real service to reduce maintenance burden with arrange/act
Summary
As of now, writing tests for Idempotency is more costly than creating features or addressing bugs. This is largely due to the complex Boto stubber setup required - it's error prone.
DynamoDB Local official wording also changed to:
Except for the endpoint, applications that run with the downloadable version of Amazon DynamoDB should also work with the DynamoDB web service
.This gives us a good trade-off on performance (slower) and contract (closer, not exactly the same).
Why is this needed?
Reduce operational overhead and cognitive load when dealing with tests in Idempotency. Idempotency tests are the hardest to write across the entire code base, and this can lead to future errors as we try to cut corners to overcome the sheer complexity.
Which area does this relate to?
Idempotency
Solution
Use official Docker Image and create new tests with this approach, then recreate one test at a time to prevent regressions.
Acknowledgment
The text was updated successfully, but these errors were encountered: