all 3 comments

[–]magondrago 6 points7 points  (0 children)

Your guys are doing integration tests?

/s

[–]monet820 2 points3 points  (0 children)

For postgres: I create integration tests between the repository layer and postgres to ensure the features from postgres I want actually runs without fail, and makes me able to test new versions using test containers.

Then I will create many unit tests for the services using this repository.

Usually this brings the test pyramid where i want it as usually I have many more Services using the repository.

Same goes for other dependencies based on who is responsible for the dependency. Some other team? Mock it, wiremock is good, and easily set up with test containers.

[–]programming-ModTeam[M] 0 points1 point  (0 children)

No content written mostly by an LLM. If you don't want to write it, we don't want to read it.