integration-testing
O que ela faz
Esta skill revisa seus fluxos de trabalho principais e acrescenta testes que cobrem como serviços, bancos de dados e componentes interagem. É para desenvolvedores que querem lançamentos confiáveis.
Quando usar
- ✓Quando uma funcionalidade passa nos testes unitários, mas falha quando todas as partes estão conectadas.
- ✓Quando suas rotas de API chamam serviços e bancos de dados sem testes no meio.
- ✓Quando você quer verificações automáticas nos seus fluxos de usuário mais importantes.
Link da skill
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/integration-testing/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode escrever testes de integração para o fluxo de compra do meu aplicativo?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente identifica os pontos em que partes do sistema se encontram e escreve testes para essas conexões. Ele sugere usar um banco de dados de teste real, em vez de simular tudo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Write integration tests for key workflows
Unit tests verify individual functions in isolation, but they can't catch the bugs that occur when those functions interact — a perfectly correct validation function and a correct database function can still fail when wired together incorrectly. Integration tests catch these wiring bugs before they reach production, where they're expensive to diagnose.
Quick Reference
- Integration tests verify that multiple units work correctly together
- Test at the boundary where different parts of your system meet
- Use a real database in tests (test DB or in-memory) rather than mocking everything
- Test happy paths and the most critical error paths
Check
Identify the key integration points in this codebase — where API routes call services, where services interact with the database, and where components interact with state management. Are these tested?
Fix
Write integration tests for the identified critical paths, testing the interactions between components rather than each in isolation.
Explain
Explain integration testing, how it differs from unit and E2E testing, and what tools to use for API and component integration tests.
Code Review
Review tests, CI workflows, and enforcement points related to Write integration tests for key workflows. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/testing/integration-testing
Perguntas frequentes
Qual a diferença para testes end-to-end?
A skill descreve testes de integração como a verificação de várias unidades trabalhando juntas, enquanto os testes end-to-end cobrem toda a jornada do usuário.
O banco de dados deve ser simulado?
A skill recomenda um banco de dados de teste real ou em memória, quando possível.
Quais caminhos devem ser testados?
A skill sugere os caminhos de sucesso e os caminhos de erro mais críticos.
Detalhes
Descrição original do autor
Use when reviewing CI coverage, automated checks, or test strategy related to Write integration tests for key workflows. Focus on whether the rule is continuously verified, not just documented.
Popularidade
- Estrelas no GitHub
- 75 mil
- Posição no ranking
- #2895
- Licença
- MIT
- Atualizada em
- 31/10/2026
Comentários
- …
Mais skills deste repositório
frontendchecklist
75 milVerifica código front-end e páginas no ar contra mais de 380 regras de acessibilidade, velocidade, SEO e segurança, usando uma ferramenta de linha de comando.
frontend-checklist-global
75 milAudita um projeto front-end contra todas as 386 regras do Front-End Checklist e dá uma correção específica para cada problema encontrado.
404-page
75 milVerifica se a sua página de conteúdo não encontrado oferece links úteis e retorna um status 404 real, para ajudar visitantes perdidos a encontrar o caminho.
about-page
75 milRevisa se o seu site tem uma página Sobre clara que explica quem está por trás dele, para criar confiança em visitantes e buscadores.
Skills parecidas
test-driven-development
311 milEnsina seu agente a escrever primeiro um teste que falha, ver a falha e depois escrever o menor código que passa, antes de criar qualquer funcionalidade ou correção.
verification-before-completion
311 milEnsina seu agente a rodar verificações reais e ler a saída antes de afirmar que uma tarefa, correção ou build está concluído ou passando.
migrate-to-shoehorn
310 milSubstitui conversões de tipo arriscadas nos seus arquivos de teste pela biblioteca shoehorn, para que os testes usem dados parciais e ainda passem na checagem de tipos.