Nest JS Writing Unit Test cases for Controllers and Services with Jest #05

preview_player
Показать описание
In this playlist we will talking about microservices development with 12 factor app
We are using nestjs
- we will build nestjs app from zero
- we will make nestjs app having everything setup
- docker with nestjs and test setup with jest
- linting using eslint
- migration with typeorm
- postgres database with nestjs/typeorm

Once we are done with basic setup with all above
we will 12 factor principles to this application
I. Codebase
II. Dependencies
III. Config
IV. Backing services
V. Build, release, run
VI. Processes
VII. Port binding
VIII. Concurrency

We are writing test cases unit and integration and wil setup CI/CD
to deploy application to heroku with postgres
Рекомендации по теме
Комментарии
Автор

Hey, I am looking for a setup for test suites in NestJS, but with addition of factories for classes, in order to help me with seeding and "Arrange" Step of the Test. Any idea where to watch that?
Especially, for complex schemas where i.e. I want to test a module, which every entity depends on the creation of others.

dimitrisbellos
Автор

bro, nice informative.i hope you are writing articles in medium regarding this

pradeepnooney
Автор

please don't copy paste things write all code. we don't worry about video length

rabinkarmakar