Skip to content

Generate linter tests with score.T wrapper - #21

Open
meling wants to merge 1 commit into
mainfrom
feat/1681/score-t-wrapper
Open

meling wants to merge 1 commit into
mainfrom
feat/1681/score-t-wrapper

Conversation

@meling

@meling meling commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the generated linter tests to use scores.Max(t) and *score.T.
The generated helper now records failures through the wrapper, while Recover handles panics and score output runs during test cleanup.

Companion to quickfeed/quickfeed#1681 and quickfeed/quickfeed#1683. This template requires the kit v0.13.0 API from that QuickFeed PR.

Verification

  • go test ./...
  • Rendered both main_qf_test.tmpl and linter_qf_test.tmpl, then compiled the generated files against the local QuickFeed kit.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 15:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants