Eight Bugs, Eight Tests: Testing a Hexagonal Python Service on AWS
22 min read
Fakes, contract tests, moto, real DynamoDB, architecture rules, E2E through API Gateway and a load test. One bug per level, and why the level before misses it.
3 posts· All tags
Fakes, contract tests, moto, real DynamoDB, architecture rules, E2E through API Gateway and a load test. One bug per level, and why the level before misses it.
Repos, uv packages, Lambdaliths, Cognito, events and CDK stacks: my serverless AWS setup for Python microservices and the problems behind each decision.
How to share your own Python code across Lambda functions using uv local packages and CDK — a simpler alternative to Lambda Layers.