Re:Ask HN: I'm less productive with TDD. Am I doing it wrong?
by ajeet_dhaliwal on Thursday October 05, 2017 @09:29PM
(#15413821)
Yeah mocking systems, been there done that and never again. I sincerely believe everyone should just start with the high level integration/system tests and these alone will bring enormous value when it comes to testing for regression. Don’t forget to add great reporting too. See my profile for this.
Mocking the database system is what I was referring to. Any two database systems have enough difference in datatypes, precise transaction semantics, default behaviors, and language dialect that it just isn't worth the effort. Add your actual database to your test, and just deal with the consequences.