🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Unit Testing and TDD: all 10 questions

Quiz: Unit Testing and TDD · Question 10 of 10

A change turns = into and an existing test for the exact boundary now fails. What kind of bug did the test catch?

A change turns >= into > and an existing test for the exact boundary now fails. What kind of bug did the test catch?

  1. A.A performance bug
  2. B.A security bug
  3. C.A regression
  4. D.A usability bug
Answer & explanation

Correct answer: A regression

A regression is a feature that used to work being broken by a new change.

Can you get the rest right without peeking?

Take the timed Quiz: Unit Testing and TDD quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →