Write maintainable tests
with less boilerplate.
NgVacuum lets you test angular components and services in a vacuum at a minimal cost; All dependencies are mocked automatically so you can get going in seconds.
It uses OmniMock to safely mock all constructor dependencies, and ng-mocks to render components shallow.
NgVacuum is ideal for TDD, and those looking for a systematic way to add good tests to their project.
Less boilerplate
Forget about endless beforeEach
blocks full of redundant boilerplate. ng-vacuum automatically mocks and injects all dependencies.
True isolation
Tests truly run in a vacuum. Service dependencies are mocked and child components are stubbed.
Type Safety
Gone are the hours lost tracking the root cause of a test failure. With an emphasis on type safety, ng-vacuum helps you pinpoint the cause of a failure in seconds.