Hacker News new | ask | show | jobs
by PerryCox 1235 days ago
The unit testing section is interesting because I feel like this may not be the perfect approach to them, but it is not a bad method. Too many times I see unit testing being used as the holy grail of debugging and then half of them get ignored because "Oh that's a known issue."
1 comments

Higher level functional tests are nice for that reason. Yes, they won’t pinpoint a bug instantly but they survive refactors nicely.
If you use micro services properly, unit tests can still call APIs and survive refactors.