Skip to content

[Docs 02] docs: testing policy in CONTRIBUTING + PR template - #234

Merged
willchen96 merged 1 commit into
Open-Legal-Products:mainfrom
amal66:olp-pr/testing-docs
Jul 21, 2026
Merged

[Docs 02] docs: testing policy in CONTRIBUTING + PR template#234
willchen96 merged 1 commit into
Open-Legal-Products:mainfrom
amal66:olp-pr/testing-docs

Conversation

@amal66

@amal66 amal66 commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Contributor-facing testing policy: a Testing section in CONTRIBUTING.md and a PR template whose checklist asks how the change was verified. The capstone of the testing series — it documents the commands the sibling PRs introduce.

Changes

  • CONTRIBUTING.md — new Testing section: how to run each suite (npm test in backend//frontend/, npm run test:e2e, node evals/run.mjs, the gated test:stack real-Supabase suite), the expectation that features/fixes carry a test at the lowest layer that can catch the regression, and the rule that env-gated tests must skip cleanly so plain npm test is always green.
  • .github/PULL_REQUEST_TEMPLATE.md — summary / why / changes / tradeoffs / how verified structure with a short checklist, matching the PR-description format CONTRIBUTING already asks for.

Why

The repo's testing story only sticks if contributors know it exists and are asked to participate in it. Today CONTRIBUTING says "run the relevant build or test command" but there is nothing to run; once the series lands, this makes the expectation concrete.

Merge order

Best merged last in the series, after the suites it references exist: #228 (harness), #229 (backend unit), #230 (frontend unit), #231 (evals), #232 (CI), #220 (e2e), and #233 (route integration). Merging it earlier is harmless — the documented commands simply arrive as their PRs land.

Testing

Docs-only; rendered and proofread. Commands verified against the sibling branches they document.

🤖 Generated with Claude Code

…checklist

Adds a Testing section documenting every suite the testing PR series
introduces (unit/integration via vitest, Playwright e2e, offline evals,
gated real-Supabase stack tests), the expectation that changes carry tests
at the lowest layer that catches the regression, and a PR template (ported
from the amal66 fork, Open-Legal-Products#205) whose checklist asks how
the change was verified. Intended as the capstone of the series — the
commands it documents are introduced by the sibling test PRs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


QA Runner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@amal66 amal66 changed the title docs: testing policy in CONTRIBUTING + PR template [Test 02] docs: testing policy in CONTRIBUTING + PR template Jul 21, 2026
@amal66 amal66 changed the title [Test 02] docs: testing policy in CONTRIBUTING + PR template [Testing 02] [Test 02] docs: testing policy in CONTRIBUTING + PR template Jul 21, 2026
@amal66 amal66 changed the title [Testing 02] [Test 02] docs: testing policy in CONTRIBUTING + PR template [Testing 02] docs: testing policy in CONTRIBUTING + PR template Jul 21, 2026
@amal66 amal66 changed the title [Testing 02] docs: testing policy in CONTRIBUTING + PR template [Docs 02] docs: testing policy in CONTRIBUTING + PR template Jul 21, 2026
@willchen96

Copy link
Copy Markdown
Collaborator

Looks good!

@willchen96
willchen96 merged commit 39dc609 into Open-Legal-Products:main Jul 21, 2026
1 check was pending
duncanmcqueen pushed a commit to duncanmcqueen/mike that referenced this pull request Aug 3, 2026
…-docs

[Docs 02] docs: testing policy in CONTRIBUTING + PR template
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.

3 participants