Skip to content
public-library›Rules›Testing›Reproduce bugs with regression tests

Reproduce bugs with regression tests

HIGH#testing Sign in to star Reproduce bugs with regression tests, 0 stars

Sign in to star rules

Star this rule if you find it useful.

Before fixing a behavior defect, write a test that reproduces the reported failure and confirm that it fails. Then apply the fix, confirm that the test passes, and keep the test with the change.

In the full rule