Receber por email
← Voltar para o catálogo

flaky-test-investigation

Use to diagnose tests that pass and fail intermittently without code changes.

7estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: Apache-2.0

Como adicionar

/plugin marketplace add yeaight7/agent-powerups

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/flaky-test-investigation/svg)](https://www.skillteca.com.br/skills/flaky-test-investigation)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Flaky Test Investigation

Flaky tests erode trust in CI. Do not just re-run them and hope for the best.

Investigation Protocol

  1. Isolate the Test: Run the specific failing test by itself. If it passes, the flake is likely an order dependency or state leakage from a previous test.
  2. Stress Test: Run the test in a tight loop (e.g., for i in {1..100}; do npm test -- -t "My Test"; done).
  3. Check for Common Vectors:
  4. Time: Does the test rely on Date.now() or

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn