Open k-kbot opened 2 years ago
Prisma: Integration testing
How to run integration tests with PostgreSQL and Prisma on GitHub Actions https://gist.github.com/2color/537f8ef13ecec80059abb007839a6878
https://github.com/k-kbot/praha-challenge-template/blob/4a32d22f7e5e55827d2a0b5b5cb7afe01f84ae44/backend/package.json#L28
PostgreSQLサービスコンテナの作成 https://docs.github.com/ja/actions/using-containerized-services/creating-postgresql-service-containers
https://github.com/k-kbot/praha-challenge-template/blob/4a32d22f7e5e55827d2a0b5b5cb7afe01f84ae44/backend/jest.integration.config.js#L6
NestJS Testing https://docs.nestjs.com/fundamentals/testing
Prisma: Integration testing