talk-integration-tests-are-a-scam

Integration tests are a scam

At 8:30 he says that isolated tests are about design. He doesn't mention speed at all. I believe that's one of their big advantages.

To cover all the scenarios with integration tests, you need to have a tremendous number of tests.

"program to interfaces"

cost of change curve is a fallacy (but also sort of true)

Basically this talk is the opposite of this blog post, which I commented on:


blog-post-test-units-not-classes#comment-i-left-on-article
 

(in fact, J.B. Rainsburger (the talk author) himself said this:

blog-post-beyond-tdd#j-b-rainsberger-quote-from-comments

"Practicing TDD encouraged me to do things in a certain sequence and style: write only a few lines at a time, get a simple example working by hardcoding some data, remove duplication mercilessly. I now do those things whether I test-drive my code or don't. Even so, I tend to prefer to test-drive, most of the time.

I used to stop myself from writing code without test-driving it. I no longer do. As with Liz, with Bob, with others, that comes from my myriad-plus-hours of practice.

I have taught people the first rule in Liz's bullet list for years: when in doubt, write the test. I call this a Novice Rule (Dreyfus Model) and teach it that way: "The Novice Rule is 'if you're not sure, then write the test; you need the practice.'"

 

Referring Pages

testing-concept-consumer-driven-contract-tests blog-post-test-units-not-classes talk-the-new-new-software-development-game enumerating-complex-scenarios

People

person-j-b-rainsberger