Robuta

https://rstest.rs/zh/config/test/snapshot-format snapshotFormat - Rstest 使用 pretty-format 提供的选项自定义快照格式。 snapshotformatrstest https://rstest.rs/zh/config/test/retry retry - Rstest 如果测试执行失败,则重试特定次数。这对于一些会产生不稳定结果的测试用例很有帮助。 retryrstest https://rstest.rs/config/build/output output - Rstest Options for configuring the output of Rstest, such as whether to output in ES module format. outputrstest https://rstest.rs/zh/config/test/resolve-snapshot-path resolveSnapshotPath - Rstest 默认情况下,Rstest 会将快照文件保存在与测试文件相同的目录下的 snapshots 文件夹中。你可以使用 resolveSnapshotPath 来自定义快照文件的存放位置。 resolvesnapshotpathrstest https://rstest.rs/zh/config/test/bail bail - Rstest 在指定个数的测试失败后中止测试运行。这对于在发生失败时提前停止测试运行非常有用。 bailrstest https://rstest.rs/zh/config/test/isolate isolate - Rstest 默认情况下, Rstest 会运行每个测试在一个独立的环境,这会使其避免受到一些模块副作用的影响,从而有助于提升测试的稳定性。 isolaterstest https://deepwiki.com/la10736/rstest/1.2-feature-overview Feature Overview | la10736/rstest | DeepWiki This page provides a comprehensive overview of the features available in the rstest testing framework. rstest is a fixture-based testing framework for Rust... feature overviewrstestdeepwiki https://deepwiki.com/la10736/rstest/1-overview la10736/rstest | DeepWiki RSTest is a fixture-based testing framework for Rust that enables developers to write parameterized tests with dependency injection. It provides a powerful and... rstestdeepwiki https://rstest.rs/zh/config/build/plugins plugins - Rstest plugins 选项用于注册 Rsbuild 插件。 pluginsrstest https://deepwiki.com/la10736/rstest/3.2-async-testing Async Testing | la10736/rstest | DeepWiki This page documents the async testing capabilities in rstest, which allow you to write parametrized tests for asynchronous code. Rstest provides comprehensive... asynctestingrstestdeepwiki