Regression Test
ELI5 — The Vibe Check
A regression test is a test you write AFTER fixing a bug, to make sure that bug never comes back. It's like putting a lock on a door after someone walked in uninvited. The bug tried to come back in v3.2 but the regression test kicked it out.
Real Talk
Regression tests verify that previously fixed bugs haven't been reintroduced. They're written after a bug is discovered and fixed, ensuring the fix remains in place as the codebase evolves. Regression test suites grow over time as the project's bug history accumulates.
When You'll Hear This
"Add a regression test for that login bug we fixed last sprint." / "Our regression suite catches 90% of the bugs that come back."
Related Terms
Bug
A bug is anything in your code that makes it behave wrong.
CI Testing
CI Testing is running all your tests automatically every time someone pushes code.
Snapshot Test
A snapshot test takes a photo of your component's output and saves it. Next time you run it, it takes another photo and compares them.
Unit Test
A unit test is like checking that one single LEGO brick isn't broken before you use it in your big castle.