Skip to content

Instantly share code, notes, and snippets.

@diegolirio
Last active May 27, 2026 19:06
Show Gist options
  • Select an option

  • Save diegolirio/e5c95411e989e22e0813503961c045e7 to your computer and use it in GitHub Desktop.

Select an option

Save diegolirio/e5c95411e989e22e0813503961c045e7 to your computer and use it in GitHub Desktop.
Workflow para testar localmente
1. No projeto alvo — instalar
cd /path/do/seu/outro/projeto
npm install file:/home/dell/Workspace/testspec-project-npm/testspec
2. Rodar o init
npx testspec init
Escolha GitHub Copilot quando perguntado.
3. Verificar os arquivos gerados
ls .github/
# → copilot-instructions.md
ls .github/skills/
# → testspec-generate.md
# → testspec-specify-qa.md
# → testspec-apply-qa.md
# → testspec-run-qa.md
ls openspec/
# → testspec.config.json
---
Dica: Para retestar após novas alterações no testspec, basta repetir apenas o passo 1 — o npm substitui pelo estado atual do diretório.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment