Hey guys, does anyone have experience with prisma ...
# orm-help
o
Hey guys, does anyone have experience with prisma integration tests in microservices. Technology stack is: nodejs - nestjs - prisma - (graphql) I would like to do this with testcontainers, because I also want to integrate and test the complete database. Workflow: • Setup Database testcontainer • dynamic adjust DATABASE_URL based on testcontainer port • connect/reconnect Prisma Client with new DATABASE_URL • Run test • After every test reset database (probably truncate) I didn’t find any good article or tutorial.
r
@Oliver St. 👋 Here’s a blog post from our community member that you can check out for integration tests 🙂
o
thank you I will have a look at it 😄
💯 1