tl;dr version
Rule #1: write commit comments before coding
Rule #2: write what the software should be supposed to do, not what you did
Rule #1: write commit comments before coding
Rule #2: write what the software should be supposed to do, not what you did
Please, help me to understand what I’m missing.
Continue reading “Help me, because I think Martin Fowler has a Merge Paranoia”
When a unit test for a method implementing some feature is green, it does not mean the feature is working. The corresponding end-to-end or integration tests reveal if it’s working or if it’s broken. To Product Owner’s point of view, end-to-end tests are all that matters. Unit tests are useless.
Unit tests are meant to lie. They rely on the often wrong assumption that the rest of the world is correctly working, but only because they are explicitly mocking it: using a fake world is a deliberate lie.
To me, that’s exactly why they are so useful.