When our unit tests pass, it indicates that parts of our system work well on their own. However, an application consists of many parts that should work well together. A job of an integration test is to verify that all the cogs in the wheel integrate. We can write such tests integrating two or more parts of the system.

#testing #api #nestjs

API with NestJS #9. Testing services and controllers with integration
1.65 GEEK