rust-testing
Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original text
Topics in the source
- Rust Test Desenleri
- Ne Zaman Kullanılır
- Nasıl Çalışır
- Rust için TDD İş Akışı
- RED-GREEN-REFACTOR Döngüsü
- Rust'ta Adım-Adım TDD
- Unit Testler
- Modül Seviyesi Test Organizasyonu
TDD metodolojisini takip ederek güvenilir, bakım yapılabilir testler yazmak için kapsamlı Rust test desenleri. Yeni Rust fonksiyonları, metotları veya trait'leri yazma Mevcut koda test kapsamı ekleme Performans-kritik kod için benchmark'lar oluşturma Girdi doğrulama için property-based testler uygulama Rust projelerinde TDD iş akışını takip etme 1. Hedef kodu tanımla — Test edilecek fonksiyon, trait veya modülü bul 2. Bir test yaz — #[cfg(test)] modülünde #[test] kullan, parametreli testler için rstest veya property-based testler için proptest 3. Bağımlılıkları mock'la — Test altındaki birimi izole etmek için mockall kullan 4. Testleri çalıştır (RED) — Testin beklenen hata ile başarısız olduğunu doğrula 5. Uygula (GREEN) — Geçmek için minimal kod yaz 6. Refactor — Testleri yeşil tutarken iyileştir 7. Kapsamı kontrol et — cargo-llvm-cov kullan, 80%+ hedefle | Kod Tipi | Hedef | |----------|-------| | Kritik iş mantığı | 100% | | Public API | 90%+ | | Genel kod | 80%+ | | Oluşturulmuş / FFI binding'leri | Hariç tut | YAPIN: ÖNCE testleri yazın (TDD) Unit testler için #[cfg(test)] modülleri kullanın Implementasyon değil, davranışı test edin Senaryoyu açıklayan açıklayıcı test isimleri
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- docs/tr/skills/rust-testing/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:50.052Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.