brozinga/challenge-stark-bank/testing
Claude Code and agent skill by brozinga/challenge-stark-bank
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install brozinga/challenge-stark-bank/testingSKILL.md
The same SKILL.md was published earlier as brozinga/challenge-stark-bank/testing.
Skill: Testing
Quando usar
Use para criar, revisar ou corrigir unit tests e integration tests.
Regra
Teste comportamento, não implementação.
Unit test
Use para:
- regras de domínio;
- casos de uso;
- validações;
- transformações;
- decisões;
- erros previsíveis;
- idempotência.
Estrutura:
Casos que devem ser considerados
Para cada comportamento relevante:
- happy path;
- valores nulos/vazios quando possíveis;
- limites;
- entradas inválidas;
- regras de negócio;
- erros;
- repetição/idempotência;
- concorrência somente quando houver risco real.
Nomenclatura
Prefira: ShouldRejectWebhookWhenSignatureIsInvalid
Evite: Test1, Works, ShouldWork.
Mocks
Mocke fronteiras externas, não tudo.
Se o teste precisar de muitos mocks:
- reavalie o design;
- procure acoplamento excessivo.
Não mocke lógica pura sem motivo.
Integration tests
Use para:
- API real;
- EF Core;
- MySQL;
- migrations;
- persistência;
- contratos importantes.
Quando possível, use banco real em container.
Anti-patterns
Não:
- testar métodos privados;
- testar detalhes de implementação;
- buscar cobertura artificial;
- depender de banco de desenvolvimento;
- fazer testes order-dependent.
Execução
Após testes:
- verifique falhas;
- não ignore testes quebrados;
- não desabilite testes para obter build verde.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testing/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brozinga/challenge-stark-bank/testing)