• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle









  • 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.





  • Kindof a pain. I use the Docker container, but then run another Postgres server that it connects to. You also need a TURN server, but I use a hosted version, since it’s something that my family actually uses like twice a month. Oh, then you need a domain setup, I use Cloudflare to punch the whole into my home network…

    Just thinking about it makes me tired. haha. But I did it all once, and now I just upgrade the Docker container every couple months. Been running smoothly for a few years now.

    If you wanna chat about it, I’m on Matrix! lol. @phil [colon] kulak.us