🧪Regression Test
Also known as Regression Testing, Regression Suite
A test that checks old features still work after you change the code.
Think of it like
Think of it like rewiring the kitchen. Then you check the lights in the other rooms still work.
Example
Emma fixes a bug where a cart with 0 items crashed. She adds a regression test for the empty cart, so it can never come back unseen.
Why it matters
Changes in one place often break things somewhere else. Regression tests catch that before users do.
Definition
Common mistake
Key takeaways
- 1Old things still work. After a change.
- 2A test per fixed bug. So it stays fixed.
- 3Grows over time. Your safety net.