Repaso
EspaƱol
TestingFoundationsTST-45

What is regression testing?

Options

  1. Re-running tests to check old features still work (Correct option)
  2. Testing only the new feature that was just added
  3. Testing the database backup that was just made
  4. Testing the speed of the app on old hardware

Answer

Re-running tests after a change to make sure existing features still work

Why

A regression is when something that used to work breaks after a change.

Regression testing re-checks old behavior every time you change the code. It is the main reason to automate tests: running hundreds of old checks by hand every release is not realistic.

When you fix a bug, you add a test for it, which keeps that bug from coming back.

Remember

Regression test = did my change break something old?

Key terms

Practice this question in Repaso