Skip to content

feat: require a suite to be named for its surface - #78

Merged
retr0h merged 1 commit into
mainfrom
feat/suite-naming
Aug 16, 2026
Merged

feat: require a suite to be named for its surface#78
retr0h merged 1 commit into
mainfrom
feat/suite-naming

Conversation

@retr0h

@retr0h retr0h commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Applying specify-go-code-standards revealed a gap in it.

Section 2 removed the suite naming convention — *_public_test.go{Name}PublicTestSuite, *_test.go{Name}TestSuite — from four repositories' CONTRIBUTING.md. The capability does not state it. I had parked it as an open question in design.md and then deleted it from the repositories anyway, so the rule would have landed nowhere.

It is universal:

Repository Public suites named *PublicTestSuite
gohai 75/75
nats-client 8/8
nats-server 1/1
osapi-orchestrator 14/14
osapi 408/408

506 of 506. Internal suites follow *TestSuite everywhere except osapi's test/integration/ smoke suites, which drive a built binary rather than exercising a package — a different thing, and the requirement says so rather than forcing them into the pair.

The open question in design.md is resolved with what applying showed, rather than with the argument about whether the capability was already long enough.

🤖 Generated with Claude Code

Applying the change removed the suite naming convention from four
repositories while the capability did not state it. All five follow
it: 506 of 506 public suites, and internal suites everywhere except
integration smoke suites, which are a different thing.

Resolves the open question by answering it with what applying showed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Thank you for contributing to this project! 😊🕹️

@retr0h
retr0h merged commit 2d9384b into main Aug 16, 2026
6 checks passed
@retr0h
retr0h deleted the feat/suite-naming branch August 16, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant