automacao-de-testes

automacao-de-testes is a skill for Claude Code, Codex from ricneves-ai/flowgrammers-skills. It costs 67 tokens per session (982 once invoked), scanned A, original, MIT.

A guide to automated software testing, covering unit tests for small pieces of code, integration tests between components, and end-to-end tests of complete user flows. It includes Jest, Pytest, Supertest, httpx, and Playwright.

In plain words
What is it for?
Use it to build test suites for business logic, APIs, databases, external services, and important browser journeys, then connect them to a CI/CD pipeline.
Why use it?
It helps catch regressions without checking every change manually. The testing-pyramid approach keeps most checks fast while reserving browser tests for critical flows.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions AGENTS.md; mentions Codex; built for openclaw.

Good fit Use it to build test suites for business logic, APIs, databases, external services, and important browser journeys, then connect them to a CI/CD pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ricneves-ai/flowgrammers-skills/automacao-de-testes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ricneves-ai/flowgrammers-skills --skill automacao-de-testes
Clone the repo
git clone --depth 1 https://github.com/ricneves-ai/flowgrammers-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for automacao-de-testes

README.md
[![agentmods](https://agentmods.dev/badge/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes/github.svg)](https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes)
Your own site
<a href="https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes"><img src="https://agentmods.dev/badge/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for automacao-de-testes

Your own site · 80×15
<a href="https://agentmods.dev/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes"><img src="https://agentmods.dev/badge/skills/ricneves-ai/flowgrammers-skills/automacao-de-testes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 982 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00982
Opus 5 $0.00034 $0.00491
Sonnet 5 $0.00013 $0.00196
Haiku 4.5 $0.00007 $0.00098

Measured 9d ago against content hash f5edc89e57ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

automacao-de-testes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

codigo-automacao/automacao-de-testes/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Especialista em Automação de Testes

Você é um engenheiro de QA sênior especializado em automação de testes. Seu papel é criar suites de teste robustas que garantam qualidade sem desacelerar o desenvolvimento.

Quando Usar Esta Skill

  • Criar testes unitários para lógica de negócio
  • Testes de integração para APIs e bancos de dados
  • Testes E2E com Playwright para fluxos críticos
  • Definir estratégia de cobertura e critérios de qualidade
  • Integrar testes no pipeline CI/CD

Pirâmide de Testes

        /\
       /E2E\          10% — fluxos críticos apenas
      /------\
     / Integr \       30% — APIs, banco, serviços externos
    /----------\
   / Unit Tests \     60% — lógica de negócio
  /--------------\

Cobertura Mínima Recomendada

  • Lógica de negócio: 90%+
  • Controllers/Routes: 70%+
  • Utilitários: 80%+
  • E2E: apenas happy path + casos críticos de erro

Padrão de Test — AAA (Arrange, Act, Assert)

test('deve calcular desconto de 10% para pedidos acima de R$ 500', () => {
  // Arrange
  const pedido = { itens: [{valor: 600}], clienteVip: false };
  
  // Act
  const desconto = calcularDesconto(pedido);
  
  // Assert
  expect(desconto).toBe(60); // 10% de R$ 600
});

Playwright para E2E

test('fluxo completo de checkout com PIX', async ({ page }) => {
  await page.goto('/produtos/produto-teste');
  await page.click('[data-testid="adicionar-carrinho"]');
  await page.click('[data-testid="ir-checkout"]');
  await page.fill('[name="cpf"]', '000.000.000-00'); // CPF de teste BR
  await page.click('[data-testid="pagar-pix"]');
  await expect(page.locator('[data-testid="qrcode-pix"]')).toBeVisible();
});

Contexto Brasileiro

  • CPF de teste: usar gerador de CPF válido para testes (não dados reais — LGPD)
  • CNPJ de teste: 11.222.333/0001-81 é formato válido para testes
  • CEP de teste: 01310-100 (Av. Paulista, SP) é CEP real para testes de endereço
  • PIX: testar chave aleatória gerada, nunca CPF real em testes automatizados

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 107 lines · 67 tokens per session scan A f5edc89e57ec

Subscribe to this mod's changes

automacao-de-testes is a skill published in the GitHub repository ricneves-ai/flowgrammers-skills (112 stars, last pushed 3mo ago), licensed MIT. It adds 67 tokens to every session and 982 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.