port-moto-tests

Port moto Python test suites to Winterbaume Rust integration tests.

15|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/moriyoshi/winterbaume --skill port-moto-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: port-moto-tests
Source: https://github.com/moriyoshi/winterbaume/tree/main/.agents/skills/port-moto-tests
Command: npx skills add https://github.com/moriyoshi/winterbaume --skill port-moto-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Port moto's Python test suites for AWS services to Winterbaume Rust integration tests, aligning test coverage with moto's behavioural expectations and centralizing test logic in the Rust crates.

Core Features & Use Cases

  • Translate moto tests for a given AWS service into Winterbaume's Rust integration tests and append to crates/winterbaume-{service}/tests/integration_test.rs.
  • Use moto's test structure as the authoritative source for AWS behaviour, ensuring consistency across services.
  • Assist CI validation by porting tests when new services are added or updated.

Quick Start

Provide the service name (e.g., ecs, s3) to port moto tests for that service into Winterbaume Rust integration tests, with an optional test file filter.

Frequently Asked Questions about port-moto-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I port moto Python tests to Rust integration tests?

Porting moto Python tests to Rust integration tests involves translating moto's AWS service test suites into Winterbaume Rust tests using aws-sdk-rust and MockAws style. The translated tests are appended to the service's integration_test.rs file, preserving AWS behavior from moto.

What is moto test porting used for in AWS service development?

Moto test porting aligns Rust AWS service test coverage with moto's behavioral expectations by centralizing test logic in Rust crates. It uses moto's Python test structure as the authoritative source for AWS behavior, ensuring consistency across services.

Can I filter specific moto test files when porting to Rust?

You can filter specific moto test files when porting to Rust by providing an optional test file filter alongside the service name. This allows porting a subset of moto's main test file for a given AWS service into Winterbaume Rust integration tests.

How do I add integration tests for a new AWS service crate in Rust?

Adding integration tests for a new AWS service crate in Rust involves porting the main moto test file into crates/winterbaume-{service}/tests/integration_test.rs. The translation uses aws-sdk-rust and MockAws style to ensure consistency with existing tests and preserve AWS behavior from moto.

Does porting moto tests to Rust require MockAws and aws-sdk-rust?

Porting moto tests to Rust uses aws-sdk-rust and MockAws style for translation. This ensures the ported Winterbaume Rust integration tests maintain consistency with existing test patterns while preserving the AWS behavior defined in moto's Python test suites.