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.
2 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.
Stop relying on code review to catch architectural drift. Use PyTestArch to turn your architecture rules into pytest tests that run in CI.