693
Sounds great in theory (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] pkulak@beehaw.org 1 points 1 year ago

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.

this post was submitted on 05 Aug 2023
693 points (97.9% liked)

Programmer Humor

32707 readers
737 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS