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.
Forget about endless
beforeEach blocks full of redundant boilerplate. ng-vacuum automatically mocks and injects all dependencies.
Tests truly run in a vacuum. Service dependencies are mocked and child components are stubbed.
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.