Skip to content

feat(testutil): port verifypr PR template verification - #691

Open
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-160-testutil-verifypr
Open

feat(testutil): port verifypr PR template verification#691
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-160-testutil-verifypr

Conversation

@varex83agent

Copy link
Copy Markdown
Collaborator

Closes #160.

Ports Charon's testutil/verifypr to pluto-testutil::verifypr: a verify_title/verify_body pair that checks a PR's package[/subpackage]: subject title and its category: / ticket: / feature_flag: body tags, plus a verifypr binary that reads the PR JSON from GITHUB_PR.

feature_flag: values resolve against an injected pluto_featureset::FeatureSet (min status alpha) since Pluto has no global feature state. Both Go unit test tables (TestTitle, TestBody) are ported as test-case tables; the Go cases that enable ad-hoc foo/bar flags use the real mock_alpha/quic features instead.

Co-Authored-By: Bohdan Ohorodnii 35969035+varex83@users.noreply.github.com

Closes #160.

Co-Authored-By: Bohdan Ohorodnii <35969035+varex83@users.noreply.github.com>
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.

Implement testutil/verifypr

2 participants