Testing · Junior · Question 8 of 78
What is a regression?
- ✓Correct answer: A bug in functionality that used to work
- 2A test that is too slow
- 3A new feature added without tests
Explanation
A good habit: when fixing a bug, first write a test that reproduces it. The test fails, the fix makes it pass, and the bug can't silently come back.