Pular para o conteúdo
Skillpedia
Testes75 mil · #2895

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.md

Copie 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

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/integration-testing/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

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.

repo: thedaviddias/Front-End-Checklist

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2895
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas