title: Is it good practice to fix the existing JUnits to make them pass after addition of new code?
body: <p>Is it good practice to keep fixing the existing Junits to make them pass after writing a new code ?</p>
  
  <p>Example. </p>
  
  <ol>
  <li>There are 100 JUnit tests which are green</li>
  <li>A new if else block is added to support some new functionality or a new helper class is introduced in the target class</li>
  <li>Because of this, around 10 existing Junits are failing.</li>
  </ol>
  
  <p>Is it right to refactor existing Junits to make them pass for the added code or
  Refactor the code in such a way that existing JUnits should pass without any modification?</p>