Cursor · PluginsTesting
Tests en Rust
Unit, integración y doctests.
por Prompt Studio
rusttesting
Licencia: MITVer original
Contenido
Dónde va: .cursor/rules/rust-testing.mdc
---
description: Convenciones y buenas prácticas de Tests en Rust
globs: src/**/*.rs,tests/**/*.rs
alwaysApply: false
---
# Tests en Rust
- Unit tests en `mod tests` del mismo archivo
- Integración en `tests/`
- Doctests en APIs públicas
- proptest para propiedades
Más en Plugins
Next.js
App Router, Server Components, Server Actions y caché.
Python
Tipado, estructura de paquetes y pruebas con pytest.
React + TypeScript
Componentes funcionales, hooks y tipado estricto.
Expo / React Native
Expo Router, estilos y rendimiento en móvil.
Go
APIs HTTP, manejo de errores y context.
Tailwind + shadcn/ui
Clases utilitarias, tokens de diseño y componentes accesibles.