Update PR template to prompt for test coverage#3210
Conversation
Co-authored-by: oscarsj <[email protected]>
There was a problem hiding this comment.
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.
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 <[email protected]>
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.