convez.ai
AgenteAutomaçãoIntermediário
avansaber

Tailtest Cursor - Testes Automáticos para IA

avansaber/tailtest-cursor

Testes automáticos para edições de IA no Cursor — R1-R15 + modo adversarial

Ver no GitHub
BomPluginScore · de 0 a 100

Agent que auto-gera e executa testes a cada edição de arquivo no Cursor IDE. Integra-se via hook afterFileEdit, aplica camada de regras R1-R15 (mesma do Claude Code), e inclui modo adversarial para validação robusta. Sem telemetria, open source (MIT).

Instalação

$npx convez-ai avansaber/tailtest-cursor

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
75%
Último commit
há 5 meses
Versão
v1.7.0
Issues abertas
0
Contribuidores
2

Casos de uso

  • Validar automaticamente código gerado por agentes IA no Cursor
  • Executar testes determinísticos sem intervenção manual após cada edit
  • Detectar regressões e falhas em cenários de produção antes do commit
  • Modo adversarial (R15) para testes mais rigorosos e edge cases

Veredito

Ferramenta madura e bem-mantida (v1.6.0, 181 testes passando) que resolve um problema real: validar código gerado por IA em tempo de edição. Implementação limpa via hooks, sem dependências externas ou SaaS obrigatório. Recomendado para equipes usando Cursor com agent-assisted development.

README

A tradução para o português deste README ainda está na fila.

tailtest-cursor -- AI software testing for Cursor IDE

License: MIT Tests Version Platform

tailtest-cursor is the open-source AI software testing layer for Cursor IDE. It hooks into Cursor's afterFileEdit event: every time Cursor's AI agent edits a file, tailtest queues the file, generates production-shaped scenarios via the R1-R15 rule layer, runs them with your project's existing test runner, and surfaces failures back to Cursor. Hook-based. Deterministic. No prompting required.

Open source (MIT), no telemetry, no SaaS account. Same R1-R15 rule layer + adversarial mode (R15) as the Claude Code, Codex CLI, and Cline variants -- 1,234 plugin tests total across the four hosts.

Read more on tailtest.com · Platform overview · Agent-edit testing deep dive · Cursor docs


Install

From the Cursor Marketplace (recommended):

Search for Tailtest in the Cursor plugin marketplace and click Install. Restart Cursor.

Manual:

git clone https://github.com/avansaber/tailtest-cursor \
  ~/.cursor/plugins/local/tailtest-cursor

Restart Cursor after cloning.


How it works

  1. afterFileEdit hook fires as the agent writes files, recording each path
  2. stop hook fires at turn end and sends tailtest: run tests for: ...
  3. Cursor re-enters the agent -- scenarios are generated, tests are written, run, and reported

Pass = silent. Fail = one line surfaced before the agent moves on.


Quick config

Create .tailtest/config.json in your project root:

{ "depth": "standard" }

Options: simple (2-3 scenarios), standard (5-8, default), thorough (10-15).

See tailtest.com/docs/config for all options.


Other tailtest variants

Same R1-R15 rule layer, same adversarial test mode, different host integration. This repo is the Cursor variant.

See tailtest.com/demo/cursor for a live walkthrough of this variant, tailtest.com/comparison for a feature matrix across all four, or tailtest.com for the project home.


License

MIT

Ver o original no GitHub

Bom para

Relacionados