Skip to content

E2E/Integration test demonstration with NestJS,Prisma and TestContainers

Notifications You must be signed in to change notification settings

medaymenTN/Nest-Prisma-testContainers

Repository files navigation

NestJS Prisma TestContainers :

An example on how to create E2E/Integration tests with NestJS and TestContainers

Description

Check full tutorial on DEV.to .

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Database migration

# init prisma
$ npx prisma init

# migrate
$  npx prisma migrate dev --name init

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

E2E/Integration test demonstration with NestJS,Prisma and TestContainers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published