Add a principle for choosing the test layer
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 57/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- playwright, react, typescript
- Bereich
- testing-qa
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
tddskill 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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 0
- Ø Merge
- 3 Std. 33 Min.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus gregogun/gstack
-
Add reviewer config guidance to review-bot triageEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Teach correct about hooks, review-bot repeats, and guardrail filesEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
ready-for-human
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 43/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add a post-deploy smoke workflow to loop-auditEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenready-for-agent
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in gregogun/gstack
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
farion1231/cc-switch#8829 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverOffendoc-audit enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100