-
Notifications
You must be signed in to change notification settings - Fork 430
Update PR template to prompt for test coverage #3210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: oscarsj <1410188+oscarsj@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the pull request template to make test coverage requirements more explicit and ensure authors either provide tests or justify their absence. The changes aim to improve code quality by making test coverage a mandatory consideration for all PRs.
Key changes:
- Enhanced validation section with explicit test coverage guidance and new bullet points
- Added mandatory test coverage checklist item in the merge/deployment section
- Updated language to clarify existing vs. new test requirements
mbg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems unnecessarily verbose and repetitive. Can we make this more concise?
|
@copilot This seems unnecessarily verbose and repetitive. Can we make this more concise? |
Co-authored-by: oscarsj <1410188+oscarsj@users.noreply.github.com>
Made the template more concise in commit 80f8fb8. Simplified the "New / updated tests" bullet and checklist item to remove verbose OR clauses while still prompting authors about test coverage.
Made the template more concise in fa79376. Simplified the "New / updated tests" bullet and checklist item to remove verbose OR clauses while still prompting authors about test coverage. |
|
Not needed, mentions to testing where already added and good enough |
This PR updates the pull request template to prompt authors about test coverage in a concise way.
Changes Made
Enhanced "How did/will you validate this change?" section:
Enhanced "Merge / deployment checklist" section:
Motivation
These changes help improve code quality by:
This is a documentation-only change that doesn't affect any code functionality. The template has been kept concise to avoid being unnecessarily verbose while still achieving the goal of prompting authors about test coverage.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.