4 ms·
I would vote this down if I could for the following reasons: - I prefer state-based TDD as opposed to interaction-based (see https://martinfowler.com/articles/
by jozvolskyef 2y ago
I would vote this down if I could for the following reasons:
- I prefer state-based TDD as opposed to interaction-based (see https://martinfowler.com/articles/mocksArentStubs.html https://martinfowler.com/articles/mocksArentStubs.html).
- I've used both testcontainers and dockertest, and from my experience dockertest is more robust.
- The capital T for the outer argument comes across as being hypercorrect. Why would one consider the shadowing of this argument bad?
- kromem 2y agoPosts aren't gospel. It's perfectly ok to take what you like from them and leave the things you don't. Is something that has 7 useful things and 3 things you disagree with merited to be buried from public view because of the 3 things you personally disagree with? I've never really understood this perspective.
- jozvolskyef 2y agoOne day, I will be working with someone who will have read this article when they were learning Go, and we will disagree about these three points. I was hoping someone would add their own opinion about these, so that when it happens, I can go back to this thread and have enough information to decide whether to change my mind or not.