docs(contributing): state that new functionality ships with tests #502

Closed
opened 2026-09-15 21:08:03 +00:00 by hexajon · 0 comments
Owner

What happens

New features ship with tests in practice. The last eight feat commits all add or change tests. CONTRIBUTING.md does not say so. Its Testing section bans t.Skip() and //nolint, and the "Pull Request Guidelines" require a green gate, but no line says a change must add tests for new behaviour. The only written test step is in docs/contributing/adding-commands.md (a manifest sanity test).

This is also the open item for the OpenSSF Best Practices criterion tests_documented_added.

Ask

Add one line under "Pull Request Guidelines": new or changed behaviour comes with tests in the automated suite.

Acceptance

  • CONTRIBUTING.md states the rule.
## What happens New features ship with tests in practice. The last eight `feat` commits all add or change tests. `CONTRIBUTING.md` does not say so. Its Testing section bans `t.Skip()` and `//nolint`, and the "Pull Request Guidelines" require a green gate, but no line says a change must add tests for new behaviour. The only written test step is in `docs/contributing/adding-commands.md` (a manifest sanity test). This is also the open item for the OpenSSF Best Practices criterion `tests_documented_added`. ## Ask Add one line under "Pull Request Guidelines": new or changed behaviour comes with tests in the automated suite. ## Acceptance - `CONTRIBUTING.md` states the rule.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea#502
No description provided.