• 1 Post
  • 24 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle



  • No, not at all. More like, if your car is broken you could also ride a bike, or walk, or take a bus or a cab or a train or an airplane. Sometimes it’s helpful to have solutions presented that you didn’t even think of. Like how you assumed that the only way to deal with a broken car is to fix it or buy a new one. That’s not true at all, and I’m here to help you explore all the ways to solve your problem, not just the ones at the top of your mind at the moment.


















  • I like to mock up dependencies with Docker Compose, then run all the tests against that. Keep the compose file in the repo, of course. I don’t tend to build a lot of real unit tests unless I’m doing something very novel and self contained. When you’re just assembling a service out of REST libraries and databases, integration testing is mostly what you want.