I'm trying to understand what's the best way to manage older unit test that doesn't really match or works anymore due to reason like bugs or logic changes in your code? Do we just skip them all by and modify them to fit the current logic?
For example if those tests weren't written by you, and now you're in charge to modify the code. Do you still take the time to update those test to make it pass before moving on?
Or just skip them? Thanks.
Unit tests that are out-of-date are useless. If you want them to be of use, update them.