-
ARE INTEGRATION TESTS REALLY THE BEST WAY?
Do you write integration tests? Do you enjoy doing it? No? Thought so, me neither. Integration tests are inherently more complex than unit tests. They have to be, they test so much more than just that single piece of functionality that a unit test does. Setup is more demanding because there are more execution paths to consider reaching the goal of the test. And that is also one of the major problems with them. To have confidence that they don’t let bugs through you need coverage. And that takes effort. As soon as you start combining things complexity rise and that means more tests. The thing is, combining objects gives…