3 ms·
> "fixing" the tests by changing the assertions to the new value Oh my... I spent hours trying to figure out why I broke a test, only to figure out that my cha
by newaccount74 4y ago
> "fixing" the tests by changing the assertions to the new value
Oh my... I spent hours trying to figure out why I broke a test, only to figure out that my change actually fixed incorrect behavior! The previous dev who worked on the code had "fixed" the test failure by changing the assertion to expect the incorrect behavior!
Automatic test suites with thousands of tests sound great in theory, but in practice it's not all rosy...