▲ | BinaryIgor 7 days ago | |
Was exactly about to point that out - if you mostly have integration (aka in-between tests) tests, you rarely need to refactor your tests. It's about testing mostly at the right abstraction level: https://binaryigor.com/unit-integration-e2e-contract-x-tests... | ||
▲ | RaftPeople 6 days ago | parent [-] | |
Agree. I don't think people realize the stats based on studies: Unit testing catches about 30% of bugs Visual code inspection catches about 70% End to end testing also catches about 70% All are important, but emphasis should be on the more effective methods. > We’ve had decades of thought leadership around testing I really disagree that this is the case that the industry has had thought leadership. I think we've had people pushing automated unit testing very hard when end to end is more effective. I don't think the position was based on facts but more of a few people's opinion. |