Skip to main content

Quality for Angulars

Quality in Angular covers testing and performance. Tests use Jasmine or Jest with TestBed to check components and services, and end-to-end tools to check full flows. Performance work includes OnPush change detection, lazy loading, deferrable views and measuring bundle size, so the app stays responsive as it grows.

Stage: Production Angular · Part of the Angular roadmap · Last reviewed 19 November 2026

What to learn in Quality

Quality interview questions

What does OnPush change detection do?

With OnPush, Angular checks a component only when an input reference changes, an event fires inside it, an observable bound with the async pipe emits, or a signal it reads changes. This skips unnecessary checks and works best with immutable data.

How do you test a component that calls a service?

Provide a fake or spy version of the service through TestBed, return controlled data, then create the component, trigger change detection and assert on the DOM or outputs. This isolates the component from real HTTP and makes the test fast and predictable.

Where Quality fits in the Angular roadmap

Quality belongs to the Production Angular stage (advanced level), which takes about 18 hours. Quality and rendering.

Back to the full Angular roadmap