2 ms·
Yep, one of the basics I do now is a Docker compose with the DB, additionally it tests the migrations. There's little to no point in doing mocks if your logic
by margorczynski 2y ago
Yep, one of the basics I do now is a Docker compose with the DB, additionally it tests the migrations.
There's little to no point in doing mocks if your logic is not really complicated where you would need to separate testing it from the integration test.
I think a lot of people took "TDD" a bit too much to the heart and it ended up maligned where always more tests == better.
- coffeebeqn 2y agoPeople forget that software engineering is engineering sure, but also art and operations. Anything too dogmatic is going to have negatives and it’s kind of obnoxious when someone just quotes their “bible” when you’re trying to have an honest conversation. I know the book said so, but can we please just talk about the reality of our situation.