Spectator

A Powerful Tool to Simplify Your Angular Tests 🦊 🚀

  • Spectator helps you get rid of all the boilerplate grunt work, leaving you with readable, sleek and streamlined unit tests.

  • Write tests for components, directives, services, and more, without having to learn TestBed, ComponentFixture, and DebugElement APIs.

[object Object]

Clean and Easy tests

[object Object]

Easy DOM querying

[object Object]

Keyboard/mouse/touch events

[object Object]

Testing projection

[object Object]

Custom Matchers (toHaveClass, toBeDisabled..)

[object Object]

Routing testing support

[object Object]

HTTP testing support

[object Object]

Built-in support for entry components

[object Object]

Auto-mocking providers

[object Object]

Strongly typed

[object Object]

Jest Support