AWS Unit Testing for Python
Generates comprehensive unit tests for AWS Python projects, ensuring full branch coverage and business logic isolation through automated mocking.
This skill automates the creation of high-quality pytest suites for AWS-based Python applications including Lambda, API Gateway, and Step Functions. It focuses on isolating core business logic from infrastructure by automatically mocking AWS services (boto3) and external dependencies. By analyzing source code to map every possible control flow path, boundary value, and edge case—ranging from malformed API events to numeric extremes—it helps developers achieve maximum test coverage and production-grade reliability with minimal manual effort.
主な機能
01Automatic mocking of AWS SDK (boto3) and HTTP dependencies
02Automated branch mapping for 100% logical path coverage
03Intelligent boundary value analysis for all data types
041 GitHub stars
05Edge case detection for malformed API Gateway payloads and JSON
06Advanced test generation using pytest parametrize and hypothesis
ユースケース
01Hardening API Gateway endpoints against malformed or malicious inputs
02Achieving high code coverage for complex AWS Lambda business logic
03Testing data transformations and error handling in Step Functions tasks