Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add a principle for choosing the test layer

オープン
#23 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@gregogun がすでに取り組んでいます。

2026年10月24日 から。

  • #39 @gregogun による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
playwright, react, typescript
領域
testing-qa

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
0
フォーク
0
平均マージ
3時間 33分
マージ済み PR(30日)
13

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

gregogun/gstack のほかの issue

gregogun/gstack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。