# Rust testing

> For writing tests for Rust service code, unit tests beside the code, integration tests in tests/, tokio::test, Router::oneshot for HTTP.

- Page: https://youraiskill.com/skill/makifbaysal-rust-testing
- What it does: Use when writing tests for Rust service code - unit tests beside the code, integration tests in tests/, tokio::test, Router::oneshot for HTTP, sqlx::test for a fresh database per test, trait fakes or mockall at ports, test-first
- Niches: backend, rust, testing
- Licence: Apache-2.0
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
