3 ms·
I kept telling people for years that I'm awful at writing tests. You're coming to me for advice because I'm less awful than you are. Nobody really seemed to ge
by hinkley 6y ago
I kept telling people for years that I'm awful at writing tests. You're coming to me for advice because I'm less awful than you are.
Nobody really seemed to get what I was trying to tell them. It parallels my experiences with Scrum "Well if it's not working you're doing it wrong". I love tests, and I hate tests. It's a very codependent relationship.
I did run into a string of people who had either very good value statements or very good questions, which helped.
But I still find tests I've written that violate the guidelines I try to set for the team. There are probably few moments in the week when I have, to be completely blunt, my head so far up my own ass as when I'm writing tests. The only time I am juggling more info at once is when I'm debugging, and in debugging I don't have to worry about the future reader. I doubt I am unique in either regard.
Unless I go out of my way to make the tests as agonizingly boring as I possibly can.