Fakecloud:用于集成测试的本地 AWS 云模拟器
Fakecloud: Local AWS cloud emulator for integration tests

原始链接: https://fakecloud.dev/

**Fakecloud** 是一款功能强大的测试工具,允许开发人员通过本地环境使用标准 AWS SDK 来验证基于 AWS 的应用程序。它无需依赖复杂的轮询或私有测试钩子,通过直接的 API 调用即可实现对应用程序效果的无缝验证。 **主要功能包括:** * **全面的 SDK 支持:** 为 TypeScript、Python、Go、PHP、Java 和 Rust 提供的原生客户端,支持对重置、断言和异步处理器进行完全控制。 * **广泛的覆盖范围:** 支持 105 种 AWS 服务,包括 S3、Lambda、DynamoDB、EventBridge 和 Bedrock。 * **经验证的一致性:** 每次提交都会经过严格测试,基于官方 Smithy 模型实现的近 4,000 个 API 操作均保持 100% 的一致性。 * **真实场景集成:** 与模拟工具(Mock)不同,Fakecloud 能够模拟真实的云服务行为,支持超过 30 种跨服务交互(如 S3 通知、SNS 扇出和 DynamoDB Streams),以确保您的基础设施逻辑表现与生产环境完全一致。 Fakecloud 弥合了本地开发与云环境之间的差距,确保您的基础设施代码可靠、可测试,并完全符合 AWS 标准。

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Fakecloud:用于集成测试的本地 AWS 云模拟器 ( fakecloud.dev ) 5 点 由 theanonymousone 发布 3 小时前 | 隐藏 | 往期 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Workflow

Test what your app really does

Use normal AWS clients against localhost, then verify the effects with fakecloud instead of stitching together polling, fixtures, or private test hooks.

SDKs

First-party test clients

TypeScript, Python, Go, PHP, Java, and Rust SDKs wrap the /_fakecloud/* endpoints for resets, assertions, and manual control of async processors after your app has already used the normal AWS APIs.

Coverage

105 AWS services

S3, SQS, SNS, EventBridge, EventBridge Pipes, EventBridge Scheduler, Lambda, EC2, DynamoDB, IAM, STS, Organizations, SSM, Secrets Manager, CloudWatch Logs, CloudWatch (Metrics & Alarms), KMS, CloudFormation, Cloud Control API, SES, Cognito User Pools, Cognito Identity, Kinesis, Firehose, RDS, RDS Data API, Aurora DSQL, Resource Groups, Resource Groups Tagging API, ElastiCache, MemoryDB, EKS, Cloud Map, Step Functions, API Gateway v1 (REST), API Gateway v2 (HTTP), Bedrock, Bedrock Agent, Bedrock Agent Runtime, Bedrock Runtime, ECR, ECS, Elastic Load Balancing v2, CloudFront, Route 53, WAF v2, Application Auto Scaling, Athena, ACM, and Glue.

Tested

Conformance tested

True 100% conformance across all 3,932 implemented API operations: 248,557/248,557 Smithy-model-generated test variants pass on every commit, backed by end-to-end tests against the official AWS SDKs.

Real behavior

Cross-service flows are wired up

30+ service-to-service integrations: S3 notifications, SNS fanout, EventBridge targets, DynamoDB Streams, CloudWatch Logs subscriptions, Cognito triggers, Step Functions task integrations, API Gateway → Lambda, and more — all exercise real service interactions.

联系我们 contact @ memedata.com