Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a principle for choosing the test layer

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@gregogun ci sta già lavorando.

Dal 24/10/2026.

  • #39 di @gregogun — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
playwright, react, typescript
Ambito
testing-qa

Direzione di ricerca

Read the Verification group in the go-mode principle index, the tdd skill, and the Feature playbook to find how principles are organized and referenced. Check the current Playwright Test Agents command against Playwright documentation. Done when the new principle is indexed, linked from both skills, documented in go-help and the README, and passes the named authoring validation and build.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ready-for-agent

Parent

#15

What to build

An agent that has to test a change knows which layer to test it at. A new principle says to test at the lowest layer where the bug can actually occur: unit tests for pure logic, component tests for component behavior, and one real end-to-end test for anything that crosses the browser-server line. The principle names auth, sessions, routing, and redirects as browser-server concerns, so a login flow gets one end-to-end test of the main path instead of only mocked form tests. It also says when each layer runs: sub-second checks continuously, targeted checks on every meaningful edit, slow suites before declaring done, and CI-only suites left to CI.

To generate a new end-to-end suite, the principle points to Playwright Test Agents instead of having the agent write the suite by hand.

Acceptance criteria

  • The new principle skill exists and is listed in the Verification group of the go-mode principle index.
  • The tdd skill and the Feature playbook point to it.
  • Asked how to test a React login flow, an agent following gstack proposes one real end-to-end test of the main path.
  • The Playwright Test Agents command matches current Playwright docs.
  • The principle has a go-help row and a README line.
  • The skill passes the authoring-a-skill validation and the build.

The principle's name is left to the build.

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
3h 33m
PR unite (30g)
13

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di gregogun/gstack

Tutte le issue di gregogun/gstack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.