Learn about the current state of testing in Angular, including tools like Karma, Jasmine, and the Web Test Runner. The post covers creating tests for components and services, explains the use of TestBed for setting up testing environments, and provides a step-by-step guide for migrating from Karma to the Web Test Runner.
Table of contents
The Angular Testing StatusScenarioSet Up the ProjectGreen by DefaultThe ChangeWriting Our First Component TestJasmine and TestBedMoving to Web Test RunnerWhat’s Next?Sort: