Skip to content

test(specs): bind CLI requirements to unique acceptance tests - #71

Merged
tiankaima merged 2 commits into
mainfrom
feat/spec-acceptance
Sep 27, 2026
Merged

tiankaima merged 2 commits into
mainfrom
feat/spec-acceptance

Conversation

@tiankaima

Copy link
Copy Markdown
Member

CLI exam and room-map requirements now live in a versioned JSON contract in this repository, beside the code that can actually verify them. Seven atomic requirements bind one-to-one to literal Go acceptance subtests. A strict document/binding test rejects missing tests, duplicate ownership, orphan canonical tests, dynamic names and skipped acceptance cases.

The command tests execute actual CLI parsing, pagination and output against a local HTTP fixture. They cover complete exam enumeration, explicit page selection, failed later pages, numeric input, semester display, and room-map request/input behavior; they do not claim to validate server authorization.

Validation: go test ./..., go vet ./..., and go test -race ./... passed.

@tiankaima
tiankaima merged commit d3b03e8 into main Sep 27, 2026
4 checks passed
@tiankaima
tiankaima deleted the feat/spec-acceptance branch September 27, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant