smithery.ai

rust-parallel-testing

Genera tests unitarios con rayon para MEMORY_P

First seen Apr 7, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Declared
Codex Not declared
GitHub Copilot Declared
Windsurf Declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents claude-code cursor github-copilot windsurf

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,672 B
  • docs SUMMARY.md 75 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Rust Parallel Testing Skill

Descripción

Genera tests unitarios y de integración optimizados para el proyecto MEMORY_P, con énfasis en paralelismo con Rayon.

Cuándo Usar

  • Crear tests para nuevos módulos
  • Validar procesamiento paralelo
  • Probar handlers MCP
  • Verificar correctitud de optimizaciones

Template: Tests Paralelos

#[cfg(test)]
mod tests {
    use super::*;
    use rayon::prelude::*;
    
    #[test]
    fn test_parallel_processing() {
        let data: Vec<u32> = (0..10000).collect();
        
        let results: Vec<_> = data
            .par_iter()
            .map(|x| process(*x))
            .collect();
        
        assert_eq!(results.len(), 10000);
        assert!(results.iter().all(|r| r.is_ok()));
    }
    
    #[tokio::test]
    async fn test_async_handler() {
        let result = async_operation().await;
        assert!(result.is_ok());
    }
}

Comandos

cargo test --release
cargo test -- --nocapture
cargo test --test-threads=4

📚 Ver También

  • [SKILLS.md](../../../SKILLS.md) - Documentación completa de Skills
  • [AGENTS.md](../../../AGENTS.md) - Guía de Agents
  • [Agent memory-p-refactor](../../agents/memory-p-refactor.agent.md) - Tests para validar refactors
  • [Skill memory-p-analyzer](../memory-p-analyzer/SKILL.md) - Análisis pre-testing

Última actualización: Enero 2026 (Post-merge PR #4) Compatibilidad: GitHub Copilot, Cursor, Windsurf, Claude Desktop