Tag: Unit Tests

  • New Unit Tests Need to Fail (Running the Old Code)

    When possible, I very much recommend adding unit tests to a Pull Request when you fix something as a way to prevent that it breaks again in future. This is no news. One important step of adding that unit test, though, is to make sure it actually tests the bug you are fixing. Specifically, this…