Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

turmoil

> 编程语言
Open source

Add hardship to your tests

1.2K stars0 likes1 views
WebsiteGitHub

About

Add hardship to your tests

Add hardship to your tests.

Turmoil is a family of crates for deterministic simulation testing of distributed systems. It runs multiple concurrent hosts within a single thread and injects "hardship" — latency, drops, partitions, crashes, torn writes — into the simulated network and filesystem, under manual control or a seeded RNG.

Build Status Discord chat

Crates

Crate Description
turmoil Full simulation-testing framework. Start here. Crates.io Documentation
turmoil-net Deterministic simulated socket stack. Drop-in replacement for tokio::net. Crates.io Documentation
turmoil-fs Deterministic simulated filesystem. Drop-in replacement for std::fs / tokio::fs. Crates.io Documentation
turmoil-io-uring Deterministic simulated io_uring. Optional fs feature wires it to turmoil-fs. Crates.io Documentation

Examples

See examples/ for end-to-end samples, and each crate's tests/ directory for smaller, feature-focused tests.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Turmoil by you, shall be licensed as MIT, without any additional terms or conditions.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言