Awesome Reviewers

Verification · Testing · Unit and integration tests

Regression test per bug

Every fixed bug gets a test that failed before the fix.

How to build it

  1. Write a test that reproduces the bug and run it before the fix.
  2. Confirm the test fails on the old commit and passes after the fix.
  3. Name the test after the bug or link it to the bug report.

Signals in a repository

  • Test names or comments that cite an issue number for a fixed bug.
  • Pull requests with a fix that also add a test case.
  • A regression test directory or marker, such as tests/regression.

In practice

No scanned repository runs a tool for this check. The steps above are the only guidance.