CodeZettaInterview Hub

NestJS · Testing · Tech Lead · Architecture

Lead: testing strategy pyramid for a large Nest codebase?

Short Interview Answer

Many unit tests of domain/services, contract tests for providers, fewer e2e; CI gates on critical journeys.

Detailed Explanation

Share test utilities. Ban excessive e2e-only coverage. Measure flake rate.

Did you know this answer?