Back to list
kentoje

test

by kentoje

0🍴 0📅 Jan 23, 2026

SKILL.md


name: test description: Run the test suite for the Ralph CLI

/test - Run Tests

Run the test suite for the Ralph CLI.

Usage

/test           # Run all tests
/test -update   # Update golden files after intentional UI changes

Instructions

Running Tests

Run the Go tests:

go test ./... -v

Updating Golden Files

If tests fail due to intentional UI changes, update golden files:

go test ./internal/commands/... -update

Reporting Results

Report results to the user with:

  • Number of tests passed/failed
  • Any failing test names and error messages
  • Suggestion to run with -update if golden file mismatches are detected

Test Coverage

Picker TUI

Tests for internal/commands/picker.go:

  • Initial view
  • Navigation with j/down keys

Run TUI

Tests for internal/commands/run.go:

  • Progress at 50%
  • Complete state (100%)
  • No stories state

Golden Files

Golden files are stored in internal/commands/testdata/*.golden and are used for visual regression testing of TUI components.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon