Skip to content

📝 docs(contributing): add a test policy - #292

Merged
gaborbernat merged 1 commit into
mainfrom
docs/contributing-tests
Nov 5, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
docs/contributing-tests

Conversation

@gaborbernat

Copy link
Copy Markdown
Collaborator

Contributors had no written rule on whether a pull request needs a test, so reviewers asked for them case by case. CONTRIBUTING now states it: every new feature and bug fix comes with a test, a fix with one that fails without it, and a change without a test explains why in the pull request description. 📝

The section also says how to run the suite through tox, that it enforces full coverage, and how to select a subset. This answers the OpenSSF Best Practices test_policy criterion with a link maintainers can cite.

@gaborbernat gaborbernat added the skip news PR does not need a changelog entry label Nov 5, 2026
@gaborbernat
gaborbernat enabled auto-merge (squash) November 5, 2026 14:25
@gaborbernat
gaborbernat merged commit e71e421 into main Nov 5, 2026
17 checks passed
@gaborbernat
gaborbernat deleted the docs/contributing-tests branch November 5, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news PR does not need a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant