Validate one milestone
pnpm course:validate-milestone be-notes-p1
# ✓ be-notes-p1 (13/13)Failed checks list the missing file or pattern so you know what to implement next.
Topic
Definition
Nest testing uses @nestjs/testing to build isolated module fixtures for unit tests and often Supertest against a bootstrapped Nest app for HTTP e2e contract checks.
In simpler words
You test providers in isolation, and you test routes by sending real HTTP into a test app.
Before shipping milestone P4, learn how graders and CI assert HTTP behavior without clicking a UI.
Definition
This course’s Notes milestones are graded by @repo/notes-milestones, a read-only package that inspects apps/notes-practice source for required contracts.
In simpler words
Treat the grader like CI: implement until green, do not edit the grader.
Official Nest chapter: https://docs.nestjs.com/fundamentals/testing
Local command: pnpm course:validate-milestone be-notes-p4
On success the CLI completes the milestone topic on the course API.
pnpm course:validate-milestone be-notes-p1
# ✓ be-notes-p1 (13/13)Failed checks list the missing file or pattern so you know what to implement next.
Test
At least 10 questions — mix of concept, syntax, practical, and logic. Score ≥ 80% (enforced by the API) to save progress.
Checking your session…
10 questions · concept 3 · syntax 3 · practical 2 · logic 2