4 ms·
The phrase “Don’t test standard Active Record association” jumped out at me, since I’ve discovered a major bug in the most basic function of Active Record assoc
by aneth 14y ago
The phrase “Don’t test standard Active Record association” jumped out at me, since I’ve discovered a major bug in the most basic function of Active Record associations in 3.0.x.
https://github.com/rails/rails/issues/5744 https://github.com/rails/rails/issues/5744
That said, I generally agree with DHH that many developers write too many of the wrong kinds of tests and this can make products brittle.
I share his disdain for Cucumber and rspec. I prefer clarity over syntactic sugar and non-programmer readability.
- edwinnathaniel 14y agoThe point is not to test the library you're using. Test your own code and assume the library has been taken care (even if there are bugs there).