Loading...
Loading...
Rust testing patterns for CLI applications, libraries, and frameworks. This skill should be used when writing, reviewing, or refactoring Rust tests including unit tests, integration tests, mocking, async testing, and CI integration. Triggers on tasks involving Rust testing, cargo test, mockall, proptest, tokio test, or test organization.
npx skill4agent add pproenca/dot-skills rust-testing| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Test Organization | CRITICAL | |
| 2 | Mocking and Test Doubles | CRITICAL | |
| 3 | Async Testing | HIGH | |
| 4 | Property-Based Testing | HIGH | |
| 5 | Test Fixtures and Setup | MEDIUM | |
| 6 | Assertions and Error Testing | MEDIUM | |
| 7 | CI Integration | MEDIUM | |
| 8 | Test Performance | LOW-MEDIUM | |
org-unit-test-modulesorg-integration-tests-directoryorg-shared-test-utilitiesorg-binary-crate-patternorg-test-namingorg-test-cli-with-assert-cmdmock-trait-based-designmock-automock-attributemock-avoid-mocking-owned-typesmock-expect-call-countsmock-predicate-argumentsmock-returning-sequencesmock-static-methodsasync-tokio-test-macroasync-time-controlasync-mock-ioasync-spawn-blockingasync-test-channelsprop-proptest-basicsprop-custom-strategiesprop-shrinkingprop-invariant-testingfix-rstest-fixturesfix-rstest-parametrizedfix-temp-directoriesfix-test-contextfix-once-cell-shared-stateassert-specific-errorsassert-should-panicassert-debug-displayassert-custom-messagesassert-floating-pointassert-collection-contentsci-cargo-nextestci-cachingci-test-isolationci-coverageperf-compile-timeperf-test-filteringperf-avoid-io-in-unit-testsperf-parallel-test-executionperf-benchmark-critical-paths| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |